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 (customAudiences != null) 'customAudiences': customAudiences!,
      if (defaultUriDisabled != null)
        'defaultUriDisabled': defaultUriDisabled!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (generation != null) 'generation': generation!,
      if (ingress != null) 'ingress': ingress!,
      if (labels != null) 'labels': labels!,
      if (lastModifier != null) 'lastModifier': lastModifier!,
      if (latestCreatedRevision != null)
        'latestCreatedRevision': latestCreatedRevision!,
      if (latestReadyRevision != null)
        'latestReadyRevision': latestReadyRevision!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (name != null) 'name': name!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (scaling != null) 'scaling': scaling!,
      if (template != null) 'template': template!,
      if (terminalCondition != null) 'terminalCondition': terminalCondition!,
      if (traffic != null) 'traffic': traffic!,
      if (trafficStatuses != null) 'trafficStatuses': trafficStatuses!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (uri != null) 'uri': uri!,
    };