ChatLists.fromJson constructor

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

Parse from a json

Implementation

factory ChatLists.fromJson(Map<String, dynamic> json) => ChatLists(
  chatLists: List<ChatList>.from((json['chat_lists'] ?? []).map((item) => ChatList.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);