getIosDefaultDescription function

String? getIosDefaultDescription(
  1. String key
)

Gets the iOS default description for a given permission key.

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

Example

final desc = getIosDefaultDescription('camera');
print(desc); // This app needs camera access to take photos and videos.

Implementation

String? getIosDefaultDescription(String key) {
  return iosDefaultDescriptions[key.toLowerCase()];
}