EMGroupInfo.fromJson constructor

EMGroupInfo.fromJson(
  1. Map map
)

Implementation

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