call method

  1. @override
Future<SubmitResponse> call(
  1. Principal canisterId,
  2. CallOptions fields,
  3. 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],
  }));
}