getAll method
Retrieves all values for a given route.
- route: The route for which all values should be retrieved.
Returns:
- A list of values associated with the route, or an empty list if no values are found.
Implementation
List<dynamic> getAll(String route) {
return _data[route]?.values.toList() ?? [];
}