EntriesLookup class
A utility class for creating and looking up permission definitions.
Constructors
-
EntriesLookup(Set<
PermissionDef> entries) -
Default constructor.
const
- EntriesLookup.forDefaults({bool androidOnly = false, bool iosOnly = false})
-
Creates a lookup instance initialized with default permissions.
factory
Properties
-
entries
→ Set<
PermissionDef> -
The set of available permission definitions.
final
-
groups
→ Set<
String> -
Returns all unique permission groups.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
find(
String input) → Set< PermissionDef> -
Finds permissions matching the given
inputstring. -
findByKey(
String key) → PermissionDef? -
Finds a specific permission definition by its
key. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited