GroupReceiveJoinApplicationEntity.fromJson constructor

GroupReceiveJoinApplicationEntity.fromJson(
  1. dynamic data
)

Implementation

GroupReceiveJoinApplicationEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  if (json['groupID'] != null) groupID = json['groupID'];
  if (json['opReason'] != null) opReason = json['opReason'];
  if (json["member"] != null)
    member = GroupMemberEntity.fromJson(json['member']);
}