Route(Iterable<String> methods, String path, PipelineFactory pipeline([IoCContainer container]))

Source

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