Message class

Basic message class.

Constructors

Message({required String user, required String msg})
Message.fromJson(Map<String, dynamic> json)
Construct class from Map of String and dynamic type

Properties

hashCode int
The hash code for this object.
no setterinherited
msg String
Message text
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user String
Message author
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Retrurn Map presentation of the Message
toString() String
A string representation of this object.
inherited

Operators

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