RelayManager constructor

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

Implementation

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