EnterGroupNotification.fromJson constructor

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

Implementation

EnterGroupNotification.fromJson(Map<String, dynamic> json) {
  group = json['group'] != null ? GroupInfo.fromJson(json['group']) : null;
  entrantUser = json['entrantUser'] != null
      ? GroupMembersInfo.fromJson(json['entrantUser'])
      : null;
}