getActor static method
Implementation
static CanisterActor getActor(String canisterIds, Service idlServices) {
HttpAgent actorAgent =
_newAgent == null ? DelegationValidation.validationAgent! : _newAgent!;
CanisterActor newActor = CanisterActor(
ActorConfig(
canisterId: Principal.fromText(canisterIds),
agent: actorAgent,
),
idlServices);
return newActor;
}