DbRelaySet class

Inheritance
Annotations
  • @Collection(inheritance: false)

Constructors

DbRelaySet({required String name, required String pubKey, required List<DbRelaySetItem> items, required RelayDirection direction, required int relayMinCountPerPubkey})
DbRelaySet.fromRelaySet(RelaySet set)

Properties

direction RelayDirection
getter/setter pairinherited-setteroverride-getter
fallbackToBootstrapRelays bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setteroverride
items List<DbRelaySetItem>
no setter
name String
getter/setter pairinherited-setteroverride-getter
notCoveredPubkeys List<NotCoveredPubKey>
getter/setter pairinherited
pubKey String
getter/setter pairinherited-setteroverride-getter
relayMinCountPerPubkey int
getter/setter pairinherited-setteroverride-getter
relaysMap Map<String, List<PubkeyMapping>>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urls Iterable<String>
no setterinherited

Methods

addMoreRelays(Map<String, List<PubkeyMapping>> more) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
splitIntoRequests(Filter filter, RequestState groupRequest) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

dbPubkeyMappings(List<PubkeyMapping> mappings) List<DbPubkeyMapping>