toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completionTime != null) 'completionTime': completionTime!,
      if (conditions != null) 'conditions': conditions!,
      if (index != null) 'index': index!,
      if (lastAttemptResult != null) 'lastAttemptResult': lastAttemptResult!,
      if (logUri != null) 'logUri': logUri!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (retried != null) 'retried': retried!,
      if (startTime != null) 'startTime': startTime!,
    };