hasStoragePermission method
Returns true if the app already has storage / media-read permission.
Implementation
@override
Future<bool> hasStoragePermission() async {
final result = await methodChannel.invokeMethod<bool>(
'hasStoragePermission',
);
return result ?? false;
}