MessageSource class
Where a message came from, as sent in the :-prefixed source.
A server sends its own name; a client's message arrives as nick!user@host, though a server may
send only the nick.
Constructors
- MessageSource({required String name, required String? user, required String? host})
-
const
-
MessageSource.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String?
-
The host part, when present.
final
- name → String
-
The nick, or the server name when there is no
!or@.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → String?
-
The user part, when the source is a full hostmask.
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