toResponse method

  1. @override
Response toResponse(
  1. String id,
  2. int requestTime
)

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) {
  return Response(id, requestTime, result: null);
}