toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (checkIntervalSec != null) 'checkIntervalSec': checkIntervalSec!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (healthyThreshold != null) 'healthyThreshold': healthyThreshold!,
      if (host != null) 'host': host!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (port != null) 'port': port!,
      if (requestPath != null) 'requestPath': requestPath!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (timeoutSec != null) 'timeoutSec': timeoutSec!,
      if (unhealthyThreshold != null)
        'unhealthyThreshold': unhealthyThreshold!,
    };