remove method
Removes a value for a given route and ID.
- route: The route from which the value should be removed.
- id: The ID associated with the value.
Implementation
void remove(String route, TId id) {
if (_data.containsKey(route)) {
_data[route]!.remove(id);
if (_data[route]!.isEmpty) {
_data.remove(route);
}
}
}