Membership class

What one member holds in one channel. Only the channel-specific part. Who they are, what account they hold and whether they are away are the same everywhere, so they live once on `Person` rather than being copied into every channel they are in and drifting apart.

Constructors

Membership({required String prefixes})
const
Membership.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
prefixes String
The prefix characters they hold here, highest rank first.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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