SubstrateRequestSystemPeers class
Returns the currently connected peers https://polkadot.js.org/docs/substrate/rpc/#system
Constructors
- SubstrateRequestSystemPeers.new()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestType → RequestServiceType
-
no setterinherited
- rpcMethod → String
-
system_peers
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → String?
-
A validation property (not used in this implementation).
no setterinherited
Methods
-
buildRequest(
int requestId) → SubstrateRequestDetails -
Converts the request parameters to a SubstrateRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
List< Map< result) → List<String, dynamic> >PeerInfo> -
override
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited