V2TimConversationResult.fromJson constructor

V2TimConversationResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimConversationResult.fromJson(Map<String, dynamic> 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));
    });
  }
}