toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoCreateRoutes != null) 'autoCreateRoutes': autoCreateRoutes!,
      if (name != null) 'name': name!,
      if (networkPeering != null) 'networkPeering': networkPeering!,
      if (peerNetwork != null) 'peerNetwork': peerNetwork!,
    };