globalMiddleware property

  1. @nonVirtual
Middleware? get globalMiddleware

Implementation

@nonVirtual
Middleware? get globalMiddleware {
  if (_globalMdwCache != null) return _globalMdwCache!;
  if (middlewares.isEmpty) return null;
  return _globalMdwCache =
      middlewares.map(_buildHandlerFunc).reduce((val, e) => val.chain(e));
}