toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  if (_career != null) {
    map['career'] = _career?.toJson();
  }
  if (_projectInquiry != null) {
    map['project_inquiry'] = _projectInquiry?.toJson();
  }
  if (_vendor != null) {
    map['vendor'] = _vendor?.toJson();
  }
  if (_redevelopment != null) {
    map['redevelopment'] = _redevelopment?.toJson();
  }
  if (_contact != null) {
    map['contact'] = _contact?.toJson();
  }
  return map;
}