toResponse method

ClientMessage toResponse()

Converts the context to a gRPC client response.

Implementation

$sp.ClientMessage toResponse() {
  return $sp.ClientMessage(
    id: id,
    intervalResponse: res.toWire(),
  );
}