middlewares property

List<Middleware> get middlewares

Gets the route middlewares.

Implementation

List<Middleware> get middlewares =>
    _middlewares != null ? _middlewares!() : [];