group method

RouteGroupDefinition group(
  1. String name,
  2. List<RouteDefinition> routes, {
  3. String? prefix,
})

Implementation

RouteGroupDefinition group(
  String name,
  List<RouteDefinition> routes, {
  String? prefix,
}) {
  return RouteGroupDefinition._(name, prefix: prefix, definitions: routes)
    ..middleware(mdw);
}