toJson method

Map<String, dynamic> toJson()

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!,
    };