Permission class
Constructors
- Permission({required PermissionActionEnum? action, required Resource? resource})
- Returns a new Permission instance.
Properties
- action ↔ PermissionActionEnum?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- resource ↔ Resource?
-
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → Permission - Returns a new Permission instance and imports
-
listFromJson(
dynamic json, {bool? emptyIsNull, bool? growable}) → List< Permission> ? -
mapFromJson(
dynamic json) → Map< String, Permission?> -
mapListFromJson(
dynamic json, {bool? emptyIsNull, bool? growable}) → Map< String, List< Permission?> ?>