ChatGroupInfo.fromJson constructor

ChatGroupInfo.fromJson(
  1. Map map
)

Implementation

factory ChatGroupInfo.fromJson(Map map) {
  String groupId = map["groupId"];
  String? groupName = map["name"];
  return ChatGroupInfo._private(
    groupId: groupId,
    name: groupName,
  );
}