GroupRightsTransferNoticication.fromJson constructor

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

Implementation

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