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 (routeUpdateWaitTime != null)
        'routeUpdateWaitTime': routeUpdateWaitTime!,
      if (service != null) 'service': service!,
      if (stableCutbackDuration != null)
        'stableCutbackDuration': stableCutbackDuration!,
    };