attachTo property

bool Function(String uri, Method method) attachTo

Function used to check if this Middleware should attach to a request chain defined uri and method

Implementation

bool Function(String uri, Method method) get attachTo =>
    (uri, method) => false;