CallConfig.fromJson constructor
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,
);
}