extract method

  1. @override
Future<Result<Stream<List<int>>, Rejection>> extract(
  1. Request request
)
override

Produces the value, or the rejection that stops the handler.

Implementation

@override
Future<Result<Stream<List<int>>, Rejection>> extract(Request request) async {
  return Ok(request.read());
}