toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (disableConnectionDrainOnFailover != null)
        'disableConnectionDrainOnFailover': disableConnectionDrainOnFailover!,
      if (dropTrafficIfUnhealthy != null)
        'dropTrafficIfUnhealthy': dropTrafficIfUnhealthy!,
      if (failoverRatio != null) 'failoverRatio': failoverRatio!,
    };