call method
The interceptor middleware-style function.
Implementation
FutureOr<void> call(Context context, Next next) {
return Future.sync(next).onError<Object>((error, stack) {
return handler(context, error, stack);
});
}
The interceptor middleware-style function.
FutureOr<void> call(Context context, Next next) {
return Future.sync(next).onError<Object>((error, stack) {
return handler(context, error, stack);
});
}