CallRequest class
CallRequest is the input to the /call
endpoint.
Constructors
-
CallRequest(NetworkIdentifier network_identifier, String method, Map<
String, dynamic> parameters) -
CallRequest.fromMap(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 an 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
.getter/setter pair - network_identifier ↔ NetworkIdentifier
-
getter/setter pair
-
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
.getter/setter pair - 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