AgentFactory constructor
AgentFactory({})
Implementation
AgentFactory({
required String canisterId,
required String url,
required this.idl,
Identity? identity,
bool? debug = true,
}) : canisterId = Principal.fromText(canisterId),
identity = identity ?? const AnonymousIdentity(),
_debug = debug ?? true,
_url = url;