get<E extends Entity> method
Implementation
E get<E extends Entity>(RepositoryScope scope) {
final entity = _scopes[scope];
if (entity == null) throw _entityNotFound;
return entity as E;
}
E get<E extends Entity>(RepositoryScope scope) {
final entity = _scopes[scope];
if (entity == null) throw _entityNotFound;
return entity as E;
}