group method

RouterGroup group(
  1. String prefix
)

Implementation

RouterGroup group(String prefix){
  if (!prefix.startsWith('/')) {
    throw ArgumentError.value(
        prefix, 'prefix', 'must start with a slash');
  }
  return RouterGroup(prefix,this);
}