RelayBroadcastResponse class

hols information about a individual relay broadcast response
e.g.
"OK", "b1a649ebe8...", true, "duplicate: already have this event" "OK", "b1a649ebe8...", false, "pow: difficulty 26 is less than 30"

Constructors

RelayBroadcastResponse({required String relayUrl, bool okReceived = false, bool broadcastSuccessful = false, String msg = ""})
creates a new RelayBroadcastResponse instance

Properties

broadcastSuccessful bool
true if publishing was successful
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
msg String
the response message usually an error message
getter/setter pair
okReceived bool
true if the relay responded with "OK"
getter/setter pair
relayUrl String
the relay url
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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