Message class

Constructors

Message.new({int? time, String? message, MessageType? type, String? sender})
Message.fromJson(String source)
factory
Message.fromMap(Map<String, dynamic>? map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
message String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String?
getter/setter pair
time int?
getter/setter pair
type MessageType?
getter/setter pair

Methods

copyWith({int? time, String? message, MessageType? type, String? sender}) Message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override