toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endTime != null) 'endTime': endTime!,
      if (evaluationId != null) 'evaluationId': evaluationId!,
      if (externalDataSources != null)
        'externalDataSources': externalDataSources!,
      if (inventoryTime != null) 'inventoryTime': inventoryTime!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (runType != null) 'runType': runType!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
    };