getIosPermissionKey function

String? getIosPermissionKey(
  1. String key
)

Gets the iOS plist key for a given permission key.

Returns null if the permission doesn't have an iOS equivalent.

Example

final iosKey = getIosPermissionKey('camera');
if (iosKey != null) {
  print('iOS key: $iosKey');
}

Implementation

String? getIosPermissionKey(String key) {
  return iosPermissionKeys[key.toLowerCase()];
}