register method

void register(
  1. RouteMapper mapper
)

Implementation

void register(RouteMapper mapper) => _routes[mapper.type] = mapper;