WorkspaceMemberPort class abstract interface

What a host tells one app about the person using it. Given per app, so can judges that app's rights.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

can(String right, {String? unit}) → Future<bool>
Whether the person holds this app's right at unit (the workspace when null).
me() → Future<Map<String, Object?>?>
The person in the current workspace: uid, kind, the unit chosen now, the units they may choose and every unit of the workspace. Null outside a workspace with an access table.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
people() → Future<List<Map<String, Object?>>>
The workspace's people. label is what this person may be shown of the other one (null when nothing).
toString() → String
A string representation of this object.
inherited

Operators

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