exists method
Checks if a value exists for a given route and ID.
- route: The route to check.
- id: The ID to check.
Returns:
trueif the value exists, orfalseif it does not.
Implementation
bool exists(String route, TId id) {
return _data[route]?.containsKey(id) ?? false;
}