CallRequest class

CallRequest is the input to the /call endpoint.

Annotations
  • @immutable

Constructors

CallRequest(NetworkIdentifier networkIdentifier, String method, Map<String, dynamic> parameters)
const
CallRequest.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
method String
Method is some network-specific procedure call. This method could map to a network-specific RPC endpoint, a method in a SDK generated from a smart contract, or some hybrid of the two. The implementation must define all available methods in the Allow object. However, it is up to the caller to determine which parameters to provide when invoking /call.
final
networkIdentifier NetworkIdentifier
final
parameters Map<String, dynamic>
Parameters is some network-specific argument for a method. It is up to the caller to determine which parameters to provide when invoking /call.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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