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 (filter != null) 'filter': filter!,
      if (interconnectAttachment != null)
        'interconnectAttachment': interconnectAttachment!,
      if (kind != null) 'kind': kind!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (nextHopIlbIp != null) 'nextHopIlbIp': nextHopIlbIp!,
      if (nextHopOtherRoutes != null)
        'nextHopOtherRoutes': nextHopOtherRoutes!,
      if (priority != null) 'priority': priority!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (virtualMachine != null) 'virtualMachine': virtualMachine!,
      if (warnings != null) 'warnings': warnings!,
    };