JMReceiveApplyJoinGroupApprovalEvent.fromJson constructor
JMReceiveApplyJoinGroupApprovalEvent.fromJson(
- Map json
Implementation
JMReceiveApplyJoinGroupApprovalEvent.fromJson(Map<dynamic, dynamic> json)
: eventId = json['eventId'],
groupId = json['groupId'],
isInitiativeApply = json['isInitiativeApply'],
sendApplyUser = JMUserInfo.fromJson(json['sendApplyUser']),
reason = json['reason'] {
List<dynamic> userJsons = json['joinGroupUsers'];
joinGroupUsers = userJsons.map((userJson) {
return JMUserInfo.fromJson(userJson);
}).toList();
}