isAndroidPermissionAllowed method
Checks Android permission status through the native implementation
Implementation
@override
Future<bool> isAndroidPermissionAllowed() async {
final result = await methodChannel.invokeMethod<dynamic>('checkPermission');
if (result is bool) {
return result;
}
if (result is String) {
return result.toLowerCase() == 'approved';
}
return false;
}