update<T> static method
void
update<T>(
- T t
Saves instance t
after removing, if exists, an instance of T
Implementation
static void update<T>(T t) {
_hashStore.update(
T.toString(),
(_) => t,
ifAbsent: () => t,
);
}