AttendeeForm.fromJson constructor

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

Implementation

factory AttendeeForm.fromJson(Map<String, dynamic> json) {
  var attendee = _$AttendeeFormFromJson(json);
  attendee.customProfileField = CustomProfileField.fromJson(json
    ..removeWhere((key, value) {
      return key == 'id' || key == 'attendeeCode';
    }));
  return attendee;
}