Source
factory Route(
Iterable<String> methods,
String path,
PipelineFactory pipeline) =>
new Route._(
methods.map((m) => m.toUpperCase()),
path.split('/').where((s) => s != '').join('/'),
pipeline
);
factory Route(
Iterable<String> methods,
String path,
PipelineFactory pipeline) =>
new Route._(
methods.map((m) => m.toUpperCase()),
path.split('/').where((s) => s != '').join('/'),
pipeline
);