Application constructor

Application(
  1. {List<Middleware> middlewares = const [],
  2. List<Route> routes = const [],
  3. Map<String, List> converters = const {}}
)

Implementation

Application({
  List<Middleware> middlewares = const [],
  List<Route> routes = const [],
  Map<String, List<dynamic>> converters = const {}
}) {
  this._middlewares = []..addAll(middlewares);
  this._routes = []..addAll(routes);
}