requestAuthorization method
Implementation
@override
Future<bool> requestAuthorization() async {
try {
final granted =
await methodChannel.invokeMethod<bool>('requestAuthorization') ??
false;
return granted;
} on PlatformException catch (e) {
_rethrowMapped(e);
}
}