CallConfig class

Implementers

Constructors

CallConfig({Agent? agent, PollStrategyFactory? pollingStrategyFactory, Principal? canisterId, Principal? effectiveCanisterId, bool callSync = true})
const
CallConfig.fromJson(Map<String, dynamic> map)
factory

Properties

agent → Agent?
An agent to use in this call, otherwise the actor or call will try to discover the agent to use.
final
callSync → bool
Whether to call the endpoint synchronously.
final
canisterId → Principal?
The canister ID of this Actor.
final
effectiveCanisterId → Principal?
The effective canister ID. This should almost always be ignored.
final
hashCode → int
The hash code for this object.
no setterinherited
pollingStrategyFactory → PollStrategyFactory?
A polling strategy factory that dictates how much and often we should poll the read_state endpoint to get the result of an update 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