setNetworkId method

  1. @override
void setNetworkId({
  1. required String networkId,
})
override

Set the networkId. This is used to build the url for the pact api. Not necessary if setNodeUrl successfully fetched the networkId from the node. When running in flutter web, setNodeUrl with fail due to CORS, and you will have to manually set the networkId with this funcion.

Implementation

@override
void setNetworkId({required String networkId}) {
  _networkId = networkId;
}