get method
C
get(
- T object
returns the cubit bound to the given object. Throws an UnsupportedError if no cubit found. You should register new objects by using add before trying to get them
Implementation
C get(T object) {
final id = buildId(object);
return getById(id);
}