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 (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (namedPorts != null) 'namedPorts': namedPorts!,
      if (network != null) 'network': network!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (size != null) 'size': size!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (zone != null) 'zone': zone!,
    };