fromNetwork static method

NetworkConfig fromNetwork(
  1. Network network, {
  2. dynamic port = 4705,
})

Implementation

static NetworkConfig fromNetwork(Network network, {port = 4705}) {
  return NetworkConfig._(network.seedServerUrlBase, port, network);
}