toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
      if (pendingDataLabelingJobs != null)
        'pendingDataLabelingJobs': pendingDataLabelingJobs!,
      if (specialistManagerEmails != null)
        'specialistManagerEmails': specialistManagerEmails!,
      if (specialistManagersCount != null)
        'specialistManagersCount': specialistManagersCount!,
      if (specialistWorkerEmails != null)
        'specialistWorkerEmails': specialistWorkerEmails!,
    };