LocalUser class

Who we are on this connection.

Constructors

LocalUser({required String nick, required String? account, required String modes, required Map<String, String> metadata, required String? away})
const
LocalUser.fromJson(Map<String, dynamic> json)
factory

Properties

account String?
The account we authenticated as.
final
away String?
Our away message, when we are away.
final
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>
Metadata the server holds, such as display-name, color, avatar and bot. These are plain draft/metadata-2 keys with no vendor prefix, despite everything else Obby adds being namespaced.
final
modes String
Our user modes.
final
nick String
Our current nick.
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