obtain<T> method
Returns the store instance from the token
Implementation
T obtain<T>(StoreToken token) {
if (_initialized.containsKey(token))
return _initialized[token];
else if (_uninitialized.containsKey(token))
throw Exception("$token hasn't been initialized");
else
throw Exception("$token has already been disposed or it doesn't exist");
}