RelayInfo class

Constructors

RelayInfo.fromJson(Map json, String url)
factory

Properties

contact String
Alternative contact of the relay admin
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
icon String
Relay icon
final
name String
final
nips List
Supported NIPS
final
pubKey String
Nostr public key of the relay admin
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
software String
Software description
final
version String
Relay software version identifier
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supportsNip(int nip) bool
does this relay support given nip
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

get(String url) Future<RelayInfo?>