setActor method

void setActor()

Implementation

void setActor() {
  _actor = Actor.createActor(
    idl,
    ActorConfig.fromJson({'canisterId': canisterId, 'agent': _agent}),
  );
}