OldRelayManager constructor

OldRelayManager({
  1. required NostrTransportFactory nostrTransportFactory,
  2. List<String>? bootstrapRelays,
  3. GlobalState? globalState,
})

Implementation

OldRelayManager({
  required this.nostrTransportFactory,
  List<String>? bootstrapRelays,
  GlobalState? globalState,
}) {
  this.bootstrapRelays = bootstrapRelays ?? DEFAULT_BOOTSTRAP_RELAYS;
  this.globalState = globalState ?? GlobalState();
}