ActorConfig constructor

ActorConfig({
  1. Agent? agent,
  2. PollStrategyFactory? pollingStrategyFactory,
  3. Principal? canisterId,
  4. Principal? effectiveCanisterId,
  5. CallConfig callTransform(
    1. String methodName,
    2. List args,
    3. CallConfig callConfig
    )?,
  6. CallConfig queryTransform(
    1. String methodName,
    2. List args,
    3. CallConfig callConfig
    )?,
})

Implementation

ActorConfig(
    {Agent? agent,
    PollStrategyFactory? pollingStrategyFactory,
    Principal? canisterId,
    Principal? effectiveCanisterId,
    this.callTransform,
    this.queryTransform})
    : super(
          agent: agent,
          pollingStrategyFactory: pollingStrategyFactory,
          canisterId: canisterId,
          effectiveCanisterId: effectiveCanisterId);