V2TimConversationResult.fromJson constructor

V2TimConversationResult.fromJson(
  1. Map json
)

Implementation

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