LinkProvider constructor

LinkProvider(
  1. String brokerUrl,
  2. String prefix, {
  3. Map? defaultNodes,
  4. Map<String, NodeFactory>? profiles,
  5. NodeProvider? provider,
  6. DataStorage? dataStore,
  7. bool loadNodes = false,
  8. bool isRequester = true,
  9. bool isResponder = true,
  10. String? token,
})

Implementation

LinkProvider(
  this.brokerUrl,
  this.prefix, {
  this.defaultNodes,
  this.profiles,
  this.provider,
  this.dataStore,
  this.loadNodes = false,
  this.isRequester = true,
  this.isResponder = true,
  this.token,
}) {
  dataStore ??= LocalDataStorage.INSTANCE;
}