toResponse method
Return a response whose result data is this object for the request with
the given id
, where the request was received at the given requestTime
.
Implementation
@override
Response toResponse(
String id,
int requestTime, {
ClientUriConverter? clientUriConverter,
}) {
return Response(
id,
requestTime,
result: toJson(clientUriConverter: clientUriConverter),
);
}