ChatMemberCounts.fromJson constructor

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

Implementation

factory ChatMemberCounts.fromJson(Map<String, dynamic> json) {
  return ChatMemberCounts(
    overallCount: json['overallCount'],
    adminsCount: json['adminsCount'],
    membersCount: json['membersCount'],
    pendingCount: json['pendingCount'],
    approvedCount: json['approvedCount'],
  );
}