toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'agent': agent,
'pollingStrategyFactory': pollingStrategyFactory,
'canisterId': canisterId,
'effectiveCanisterId': effectiveCanisterId,
'callSync': callSync,
};
}