FakeChannel class final

A channel with the levels of the principals that see it.

Constructors

FakeChannel(JsonMap json, Map<String, String> access)
Creates the channel from its API Channel.

Properties

access → Map<String, String>
The level (read, write, trigger) per principal ID; absent principals do not see the channel. The fake has no permission logic beyond this (README).
final
capabilities → Map<String, Set<String>>
The capabilities (API Capability, for example manage) per principal ID next to its level; the channel view reports them (brief M4-20: actions follow the server's capabilities).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The channel ID.
no setter
json → JsonMap
The API Channel.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spaceId → String?
The space ID, or null for a direct message.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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