toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (deployment != null) 'deployment': deployment!,
  if (httpRoute != null) 'httpRoute': httpRoute!,
  if (podSelectorLabel != null) 'podSelectorLabel': podSelectorLabel!,
  if (routeDestinations != null) 'routeDestinations': routeDestinations!,
  if (routeUpdateWaitTime != null)
    'routeUpdateWaitTime': routeUpdateWaitTime!,
  if (service != null) 'service': service!,
  if (stableCutbackDuration != null)
    'stableCutbackDuration': stableCutbackDuration!,
};