RelayManager constructor
RelayManager({
- required NostrTransportFactory nostrTransportFactory,
- List<
String> ? bootstrapRelays, - GlobalState? globalState,
Implementation
RelayManager({
required this.nostrTransportFactory,
List<String>? bootstrapRelays,
GlobalState? globalState,
}) {
this.bootstrapRelays = bootstrapRelays ?? DEFAULT_BOOTSTRAP_RELAYS;
this.globalState = globalState ?? GlobalState();
}