getAuthorizationState method
Implementation
@override
Future<int> getAuthorizationState() async {
try {
final state =
await methodChannel.invokeMethod<int>('getAuthorizationState') ?? 0;
return state;
} on PlatformException catch (e) {
_rethrowMapped(e);
}
}