get<T> method
T
get<T>()
Implementation
T get<T>() {
final sf = _map[T];
if (sf is! _StoreFactory<T>) {
throw new Exception("${T.toString()} is not mapped in store.");
}
return sf.instance;
}