getType method
getType(uri: Uri): String? https://developer.android.com/reference/kotlin/android/content/ContentResolver#gettype
Implementation
Future<String?> getType({required String uri}) {
return methodChannel.invokeMethod<String>('getType', {
'uri': uri,
});
}