IosPermissionDef class

Definition for an iOS permission (Info.plist usage description).

Inheritance

Constructors

IosPermissionDef(String key, {AssociatedService? service, required String group, AccessScope scope = .standardOrFull, Set<String> keywords = const {}, double? sinceApi, double? untilApi, Set<String>? docNotes})
Default constructor.
const

Properties

docNotes → Set<String>?
Additional notes for documentation purposes.
finalinherited
group → String
The group this permission belongs to (e.g., 'Camera', 'Location').
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
isDeprecated → bool
Whether this permission is considered deprecated.
no setter
key → String
The unique key for the permission (e.g., 'android.permission.CAMERA' or 'NSCameraUsageDescription').
finalinherited
keywords → Set<String>
Keywords used to search for this permission.
finalinherited
name → String
Returns the name (key) of the permission.
no setterinherited
platform → String
The platform this permission applies to ('android' or 'ios').
finalinherited
promptNote → String?
Returns a note to prompt the user with, if applicable (e.g., version constraints).
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → AccessScope
The scope of access this permission grants.
final
service → AssociatedService?
The service associated with this permission, if any.
finalinherited
sinceApi → double?
The iOS version since which this permission is required.
final
untilApi → double?
The iOS version until which this permission is required.
final

Methods

matches(String input) → bool
Checks if the input string matches this permission's key or common aliases.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override