LinkFunction typedef Null safety

LinkFunction = Stream<Response> Function(Request request, [NextLink? forward])

Link as a function

Used by Link.function

Implementation

typedef LinkFunction = Stream<Response> Function(
  Request request, [
  NextLink? forward,
]);