CallConfig.fromJson constructor

CallConfig.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory CallConfig.fromJson(Map<String, dynamic> map) {
  return CallConfig(
    agent: map['agent'],
    pollingStrategyFactory: map['pollingStrategyFactory'],
    canisterId: map['canisterId'],
    effectiveCanisterId: map['effectiveCanisterId'],
    callSync: map['callSync'] ?? true,
  );
}