IMMessage class

IM消息体

Constructors

IMMessage({String? type, String? from, String? fromName, String? to, String? timestamp, String? time, String? content, String? read, String? pk})
IMMessage.fromJson(Map<String, dynamic> json)
factory

Properties

content String?
getter/setter pair
from String?
getter/setter pair
fromName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pk String?
getter/setter pair
read String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time String?
getter/setter pair
timestamp String?
getter/setter pair
to String?
getter/setter pair
type String?
getter/setter pair

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.
override

Operators

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