setActor method

void setActor()

Implementation

void setActor() {
  _actor = Actor.createActor(_idl,
      ActorConfig.fromMap({"canisterId": _canisterId, "agent": _agent}));
}