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