toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allocationOptions != null) 'allocationOptions': allocationOptions!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (excludeCidrRanges != null) 'excludeCidrRanges': excludeCidrRanges!,
  if (immutable != null) 'immutable': immutable!,
  if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
  if (labels != null) 'labels': labels!,
  if (migration != null) 'migration': migration!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (overlaps != null) 'overlaps': overlaps!,
  if (peering != null) 'peering': peering!,
  if (prefixLength != null) 'prefixLength': prefixLength!,
  if (targetCidrRange != null) 'targetCidrRange': targetCidrRange!,
  if (updateTime != null) 'updateTime': updateTime!,
  if (usage != null) 'usage': usage!,
  if (users != null) 'users': users!,
};