shouldShowRequestPermissionRationale method
Implementation
@override
Future<bool> shouldShowRequestPermissionRationale(
Permission permission) async {
if (defaultTargetPlatform != TargetPlatform.android) {
return false;
}
final shouldShowRationale = await _methodChannel.invokeMethod(
'shouldShowRequestPermissionRationale', permission.value);
return shouldShowRationale ?? false;
}