canHandle method

  1. @override
bool canHandle(
  1. RequestEntity request
)
override

Return true or false if this router can successfully process a request This means if the router if found, and the methods match

Implementation

@override
bool canHandle(RequestEntity request) {
  return handlerRoute(request) != null;
}