DataPermissionObject class
A class that represents the metadata of a Data Permission Object.
Constructors
- DataPermissionObject({required String permissionName, required String permissionDescription, required IconData permissionIcon, required VoidCallback onPermissionOptIn})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPermissionOptIn → VoidCallback
-
A function that should be called when the user opts in
final
- permissionDescription → String
-
The description of what you're asking for access of.
final
- permissionIcon → IconData
-
An icon that describes the permission
final
- permissionName → String
-
What the name of the permission is
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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