toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (degradedHostCount != null) 'degradedHostCount': degradedHostCount!,
  if (degradedInfraCount != null) 'degradedInfraCount': degradedInfraCount!,
  if (healthStatus != null) 'healthStatus': healthStatus!,
  if (healthyHostCount != null) 'healthyHostCount': healthyHostCount!,
  if (healthyInfraCount != null) 'healthyInfraCount': healthyInfraCount!,
};