requestPermissionExtend method

Future<PermissionState> requestPermissionExtend(
  1. PermissionRequestOption requestOption
)

Implementation

Future<PermissionState> requestPermissionExtend(
  PermissionRequestOption requestOption,
) async {
  final int result = await _channel.invokeMethod<int>(
    PMConstants.mRequestPermissionExtend,
    requestOption.toMap(),
  ) as int;
  return PermissionState.values[result];
}