get method

dynamic get(
  1. String route,
  2. TId id
)

Retrieves a value for a given route and ID.

  • route: The route from which the value should be retrieved.
  • id: The ID associated with the value.

Returns:

  • The value associated with the route and ID, or null if not found.

Implementation

dynamic get(String route, TId id) {
  return _data[route]?[id];
}