toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bandwidth != null) 'bandwidth': bandwidth!,
  if (cidr != null) 'cidr': cidr!,
  if (gcpService != null) 'gcpService': gcpService!,
  if (id != null) 'id': id!,
  if (jumboFramesEnabled != null) 'jumboFramesEnabled': jumboFramesEnabled!,
  if (name != null) 'name': name!,
  if (serviceCidr != null) 'serviceCidr': serviceCidr!,
  if (type != null) 'type': type!,
  if (userNote != null) 'userNote': userNote!,
  if (vlanAttachments != null) 'vlanAttachments': vlanAttachments!,
  if (vlanSameProject != null) 'vlanSameProject': vlanSameProject!,
  if (vrf != null) 'vrf': vrf!,
};