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 (gatewayIpVersion != null) 'gatewayIpVersion': gatewayIpVersion!,
  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 (stackType != null) 'stackType': stackType!,
  if (vpnInterfaces != null) 'vpnInterfaces': vpnInterfaces!,
};