split method
Link
split(
- bool test(
- Request request
- Link left, [
- Link right = const PassthroughLink()
inherited
Split requests after this link
Implementation
Link split(
bool Function(Request request) test,
Link left, [
Link right = const PassthroughLink(),
]) =>
concat(
_RouterLink(
(Request request) => test(request) ? left : right,
),
);