requestReadPhoneStatePermission method
Request read phone state permission
Android only
Implementation
@override
Future<bool?> requestReadPhoneStatePermission() {
if (defaultTargetPlatform != TargetPlatform.android) {
return Future.value(true);
}
return _channel.invokeMethod('requestReadPhoneStatePermission', {});
}