call method
Future<SubmitResponse>
call(
- Principal canisterId,
- CallOptions fields,
- Identity? identity
override
Implementation
@override
Future<SubmitResponse> call(
Principal canisterId, CallOptions fields, Identity? identity) {
return _sendAndWait(ProxyMessageCallResponse.fromJson({
"id": _nextId++,
"type": ProxyMessageKind.Call,
"args": [canisterId.toString(), fields],
}));
}