toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (id != null) 'id': id!,
      if (interconnectAttachment != null)
        'interconnectAttachment': interconnectAttachment!,
      if (pairingKey != null) 'pairingKey': pairingKey!,
      if (peerIp != null) 'peerIp': peerIp!,
      if (peerVlanId != null) 'peerVlanId': peerVlanId!,
      if (qosPolicy != null) 'qosPolicy': qosPolicy!,
      if (routerIp != null) 'routerIp': routerIp!,
    };