LinkProvider constructor
LinkProvider(
- String brokerUrl,
- String prefix, {
- Map? defaultNodes,
- Map<
String, NodeFactory> ? profiles, - NodeProvider? provider,
- DataStorage? dataStore,
- bool loadNodes = false,
- bool isRequester = true,
- bool isResponder = true,
- 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;
}