reset method

void reset()

Reset router

Implementation

void reset() {
  _params = [];
  _routes = {
    'GET': {},
    'POST': {},
    'PUT': {},
    'PATCH': {},
    'DELETE': {},
  };
}