Source
Future on(String method, RequestHandler handler) async {
if (method.toLowerCase() == this.method.toLowerCase()) {
await handler(this);
}
}
Future on(String method, RequestHandler handler) async {
if (method.toLowerCase() == this.method.toLowerCase()) {
await handler(this);
}
}