V2TimConversationResult.fromJson constructor
V2TimConversationResult.fromJson(
- Map json
Implementation
V2TimConversationResult.fromJson(Map json) {
json = Utils.formatJson(json);
nextSeq = json['nextSeq'] ?? "";
isFinished = json['isFinished'] ?? true;
if (json['conversationList'] != null) {
conversationList = List.empty(growable: true);
json['conversationList'].forEach((v) {
conversationList!.add(V2TimConversation.fromJson(v));
});
} else {
conversationList = [];
}
}