DbRelaySet constructor

DbRelaySet({
  1. required String name,
  2. required String pubKey,
  3. required List<DbRelaySetItem> items,
  4. required RelayDirection direction,
  5. required int relayMinCountPerPubkey,
})

Implementation

DbRelaySet(
    {required super.name,
    required super.pubKey,
    required List<DbRelaySetItem> items,
    required super.direction,
    required super.relayMinCountPerPubkey})
    : super(relaysMap: {for (var e in items) e.url: e.pubKeyMappings});