getPermissionState method
Implementation
Future<PermissionState> getPermissionState(
PermissionRequestOption requestOption,
) async {
final int result = await _channel.invokeMethod(
PMConstants.mGetPermissionState,
requestOption.toMap(),
);
return PermissionState.values[result];
}