getType static method Null safety

String? getType(
  1. Uri uri
)

Gets mime type of file at uri.