PermissionSubject class

The user or group that the permission applies to.

Constructors

PermissionSubject({required PermissionSubjectType type, required String identifier})
PermissionSubject.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → String
for type=user, identifier should be user's accountId or anonymous for anonymous users
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → PermissionSubjectType
final

Methods

copyWith({PermissionSubjectType? type, String? identifier}) → PermissionSubject
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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