SharePrincipal class

Describes the recipient type and ID, if available.

Constructors

SharePrincipal({required String id, required RoleType role, required PrincipalType type})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the recipient.
final
role RoleType
The role of the recipient.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PrincipalType
The type of the recipient.
final

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.
inherited

Operators

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