ActorConfig.fromJson constructor

ActorConfig.fromJson(
  1. Map map
)

Implementation

factory ActorConfig.fromJson(Map map) {
  return ActorConfig(
    callTransform: map['callTransform'],
    queryTransform: map['queryTransform'],
    agent: map['agent'],
    pollingStrategyFactory: map['pollingStrategyFactory'],
    canisterId: map['canisterId'],
    effectiveCanisterId: map['effectiveCanisterId'],
    callSync: map['callSync'] ?? true,
  );
}