HMSMessage class Null safety

Constructors

HMSMessage({required String sender, required String message, required String type, required String time})
HMSMessage.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
message which you want to send.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sender String
sender id basically it is the peerId who is sending message.
final
time String
time at which sender sent the message
final
type String
type of the message
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap(Map<String, dynamic> map) Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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