fromJson static method

ChatListFolder? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static ChatListFolder? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return ChatListFolder(chatFolderId: (json['chat_folder_id'] as int?) ?? 0);
}