createActor static method
Implementation
static CanisterActor createActor(
Service idl,
HttpAgent agent,
Principal canisterId,
) {
return Actor.createActor(
idl,
ActorConfig(canisterId: canisterId, agent: agent),
);
}
static CanisterActor createActor(
Service idl,
HttpAgent agent,
Principal canisterId,
) {
return Actor.createActor(
idl,
ActorConfig(canisterId: canisterId, agent: agent),
);
}