toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (conditions != null) 'conditions': conditions!,
      if (latestCreatedRevisionName != null)
        'latestCreatedRevisionName': latestCreatedRevisionName!,
      if (latestReadyRevisionName != null)
        'latestReadyRevisionName': latestReadyRevisionName!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (traffic != null) 'traffic': traffic!,
      if (url != null) 'url': url!,
    };