toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (forwardingRules != null) 'forwardingRules': forwardingRules!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (tunnels != null) 'tunnels': tunnels!,
    };