toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final asPaths = this.asPaths;
  final creationTimestamp = this.creationTimestamp;
  final description = this.description;
  final destRange = this.destRange;
  final id = this.id;
  final kind = this.kind;
  final name = this.name;
  final network = this.network;
  final nextHopGateway = this.nextHopGateway;
  final nextHopHub = this.nextHopHub;
  final nextHopIlb = this.nextHopIlb;
  final nextHopInstance = this.nextHopInstance;
  final nextHopInterRegionCost = this.nextHopInterRegionCost;
  final nextHopInterconnectAttachment = this.nextHopInterconnectAttachment;
  final nextHopIp = this.nextHopIp;
  final nextHopMed = this.nextHopMed;
  final nextHopNetwork = this.nextHopNetwork;
  final nextHopOrigin = this.nextHopOrigin;
  final nextHopPeering = this.nextHopPeering;
  final nextHopVpnTunnel = this.nextHopVpnTunnel;
  final params = this.params;
  final priority = this.priority;
  final routeStatus = this.routeStatus;
  final routeType = this.routeType;
  final selfLink = this.selfLink;
  final tags = this.tags;
  final warnings = this.warnings;
  return {
    'asPaths': ?asPaths,
    'creationTimestamp': ?creationTimestamp,
    'description': ?description,
    'destRange': ?destRange,
    'id': ?id,
    'kind': ?kind,
    'name': ?name,
    'network': ?network,
    'nextHopGateway': ?nextHopGateway,
    'nextHopHub': ?nextHopHub,
    'nextHopIlb': ?nextHopIlb,
    'nextHopInstance': ?nextHopInstance,
    'nextHopInterRegionCost': ?nextHopInterRegionCost,
    'nextHopInterconnectAttachment': ?nextHopInterconnectAttachment,
    'nextHopIp': ?nextHopIp,
    'nextHopMed': ?nextHopMed,
    'nextHopNetwork': ?nextHopNetwork,
    'nextHopOrigin': ?nextHopOrigin,
    'nextHopPeering': ?nextHopPeering,
    'nextHopVpnTunnel': ?nextHopVpnTunnel,
    'params': ?params,
    'priority': ?priority,
    'routeStatus': ?routeStatus,
    'routeType': ?routeType,
    'selfLink': ?selfLink,
    'tags': ?tags,
    'warnings': ?warnings,
  };
}