BasicGroup.fromJson constructor
Parse from a json
Implementation
factory BasicGroup.fromJson(Map<String, dynamic> json) => BasicGroup(
id: json['id'],
memberCount: json['member_count'],
status: ChatMemberStatus.fromJson(json['status']),
isActive: json['is_active'],
upgradedToSupergroupId: json['upgraded_to_supergroup_id'] ?? 0,
extra: json['@extra'],
clientId: json['@client_id'],
);