JMGroupInfo.fromJson constructor

JMGroupInfo.fromJson(
  1. Map json
)

Implementation

JMGroupInfo.fromJson(Map<dynamic, dynamic> json)
  : id = json['id'],
    name = json['name'],
    desc = json['desc'],
    level = json['level'],
    owner = json['owner'],
    ownerAppKey = json['ownerAppKey'],
    maxMemberCount = json['maxMemberCount'],
    isNoDisturb = json['isNoDisturb'],
    isBlocked = json['isBlocked'],
    groupType = getEnumFromString(JMGroupType.values, json['groupType']);