V2TimConversation class Models

V2TimConversation

Annotations
  • @JsonSerializable()

Constructors

V2TimConversation(String conversationID, int type, String userID, String groupID, String showName, String faceUrl, int recvOpt, String groupType, int unreadCount, V2TimMessage lastMessage, String draftText, int draftTimestamp, List<V2TimGroupAtInfo> groupAtInfoList)
V2TimConversation.fromJson(Map<String, dynamic> srcJson)
factory

Properties

conversationID String
@JsonKey(name: 'conversationID'), read / write
draftText String
@JsonKey(name: 'draftText'), read / write
draftTimestamp int
@JsonKey(name: 'draftTimestamp'), read / write
faceUrl String
@JsonKey(name: 'faceUrl'), read / write
groupAtInfoList List<V2TimGroupAtInfo>
@JsonKey(name: 'groupAtInfoList'), read / write
groupID String
@JsonKey(name: 'groupID'), read / write
groupType String
@JsonKey(name: 'groupType'), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastMessage V2TimMessage
@JsonKey(name: 'lastMessage'), read / write
recvOpt int
@JsonKey(name: 'recvOpt'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showName String
@JsonKey(name: 'showName'), read / write
type int
@JsonKey(name: 'type'), read / write
unreadCount int
@JsonKey(name: 'unreadCount'), read / write
userID String
@JsonKey(name: 'userID'), read / write

Methods

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

Operators

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