add method
Implementation
void add(RouteDefinition definition) {
final type = definition._type;
assert(isNotSet(type), 'duplicate route: $type');
definitions[type] = definition;
}
void add(RouteDefinition definition) {
final type = definition._type;
assert(isNotSet(type), 'duplicate route: $type');
definitions[type] = definition;
}