addRelay method

void addRelay(
  1. String relayUrl,
  2. bool private
)

Implementation

void addRelay(String relayUrl, bool private) {
  elements
      .add(Nip51ListElement(tag: RELAY, value: relayUrl, private: private));
}