isMiddleware property

bool get isMiddleware

Implementation

bool get isMiddleware => returnType == (MiddlewareResult).name;