toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (binaryAuthorization != null)
        'binaryAuthorization': binaryAuthorization!,
      if (client != null) 'client': client!,
      if (clientVersion != null) 'clientVersion': clientVersion!,
      if (conditions != null) 'conditions': conditions!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (etag != null) 'etag': etag!,
      if (executionCount != null) 'executionCount': executionCount!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (generation != null) 'generation': generation!,
      if (labels != null) 'labels': labels!,
      if (lastModifier != null) 'lastModifier': lastModifier!,
      if (latestCreatedExecution != null)
        'latestCreatedExecution': latestCreatedExecution!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (name != null) 'name': name!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (runExecutionToken != null) 'runExecutionToken': runExecutionToken!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (startExecutionToken != null)
        'startExecutionToken': startExecutionToken!,
      if (template != null) 'template': template!,
      if (terminalCondition != null) 'terminalCondition': terminalCondition!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };