toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildOptions != null) 'buildOptions': buildOptions!,
      if (builderVersion != null) 'builderVersion': builderVersion!,
      if (builtArtifacts != null) 'builtArtifacts': builtArtifacts!,
      if (commands != null) 'commands': commands!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (endTime != null) 'endTime': endTime!,
      if (id != null) 'id': id!,
      if (logsUri != null) 'logsUri': logsUri!,
      if (projectId != null) 'projectId': projectId!,
      if (sourceProvenance != null) 'sourceProvenance': sourceProvenance!,
      if (startTime != null) 'startTime': startTime!,
      if (triggerId != null) 'triggerId': triggerId!,
    };