AgentFactory class

Constructors

AgentFactory({required String canisterId, required String url, required Service idl, Identity? identity, bool? debug = true})

Properties

actor → CanisterActor?
no setter
agentUrl → String
no setter
canisterId → Principal
no setter
hashCode → int
The hash code for this object.
no setterinherited
identity → Identity
no setter
idl → Service
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAgent() → HttpAgent
initAgent(String url) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setActor() → void
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

createActor(ServiceClass idl, HttpAgent agent, Principal canisterId) → CanisterActor
createAgent({required String canisterId, required String url, required Service idl, Identity? identity, bool? debug = true}) → Future<AgentFactory>