toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bestRoutes != null) 'bestRoutes': bestRoutes!,
if (bestRoutesForRouter != null)
'bestRoutesForRouter': bestRoutesForRouter!,
if (bgpPeerStatus != null) 'bgpPeerStatus': bgpPeerStatus!,
if (natStatus != null) 'natStatus': natStatus!,
if (network != null) 'network': network!,
};