toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (labels != null) 'labels': labels!,
      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!,
    };