Permissions class
- Annotations
-
- @freezed
Constructors
-
Permissions({required PermissionsModel<
WebsocketPermissionKeys> websocket, required PermissionsModel<ControlPermissionKeys> control, required PermissionsModel<UserPermissionKeys> user, required PermissionsModel<FilePermissionKeys> file, required PermissionsModel<BackupPermissionKeys> backup, required PermissionsModel<AllocationPermissionKeys> allocation, required PermissionsModel<StartupPermissionKeys> startup, required PermissionsModel<DatabasePermissionKeys> database, required PermissionsModel<SchedulePermissionKeys> schedule, required PermissionsModel<SettingsPermissionKeys> settings}) -
constfactory
- Permissions.fromJson(JsonMap json)
-
factory
Properties
-
allocation
→ PermissionsModel<
AllocationPermissionKeys> -
no setterinherited
-
backup
→ PermissionsModel<
BackupPermissionKeys> -
no setterinherited
-
control
→ PermissionsModel<
ControlPermissionKeys> -
no setterinherited
-
copyWith
→ $PermissionsCopyWith<
Permissions> -
no setterinherited
-
database
→ PermissionsModel<
DatabasePermissionKeys> -
no setterinherited
-
file
→ PermissionsModel<
FilePermissionKeys> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedule
→ PermissionsModel<
SchedulePermissionKeys> -
no setterinherited
-
settings
→ PermissionsModel<
SettingsPermissionKeys> -
no setterinherited
-
startup
→ PermissionsModel<
StartupPermissionKeys> -
no setterinherited
-
user
→ PermissionsModel<
UserPermissionKeys> -
no setterinherited
-
websocket
→ PermissionsModel<
WebsocketPermissionKeys> -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited