ImSession class

Constructors

ImSession({num? id, num? uid, String? avatar, String? nickName, dynamic sessionType, num? lastMessageId, dynamic lastMessageType, num? lastMessageStatus, String? lastMessageContent, dynamic lastMessageTime, num? unreadCount = 0})
ImSession.fromJson(dynamic json)

Properties

avatar String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id num?
getter/setter pair
lastMessageContent String?
getter/setter pair
lastMessageId num?
getter/setter pair
lastMessageStatus num?
getter/setter pair
lastMessageTime ↔ dynamic
getter/setter pair
lastMessageType ↔ dynamic
getter/setter pair
nickName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionType ↔ dynamic
getter/setter pair
uid num?
getter/setter pair
unreadCount num?
getter/setter pair

Methods

copyWith({num? id, num? uid, String? avatar, String? nickName, dynamic sessionType, num? lastMessageId, dynamic lastMessageType, num? lastMessageStatus, String? lastMessageContent, dynamic lastMessageTime, num? unreadCount}) ImSession
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