staticFiles method

void staticFiles(
  1. String path, {
  2. List<MiddlewareFunc> middleware = const [],
})

Implementation

void staticFiles(String path, {List<MiddlewareFunc> middleware = const []}) =>
    bindings.add(StaticBinding(path: path, middleware: middleware));