ChatFolderInfo.fromJson constructor

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

Parse from a json

Implementation

factory ChatFolderInfo.fromJson(Map<String, dynamic> json) => ChatFolderInfo(
      id: json['id'],
      title: json['title'],
      icon: ChatFolderIcon.fromJson(json['icon']),
      isShareable: json['is_shareable'],
      hasMyInviteLinks: json['has_my_invite_links'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );