toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (costCenter != null) 'costCenter': costCenter!,
      if (current != null) 'current': current!,
      if (department != null) 'department': department!,
      if (domain != null) 'domain': domain!,
      if (endDate != null) 'endDate': endDate!,
      if (formattedType != null) 'formattedType': formattedType!,
      if (fullTimeEquivalentMillipercent != null)
        'fullTimeEquivalentMillipercent': fullTimeEquivalentMillipercent!,
      if (jobDescription != null) 'jobDescription': jobDescription!,
      if (location != null) 'location': location!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (phoneticName != null) 'phoneticName': phoneticName!,
      if (startDate != null) 'startDate': startDate!,
      if (symbol != null) 'symbol': symbol!,
      if (title != null) 'title': title!,
      if (type != null) 'type': type!,
    };