getEntityRepositoryByType<O extends Object> method
Implementation
@override
EntityRepository<O>? getEntityRepositoryByType<O extends Object>(Type type) {
if (isClosed) return null;
if (_callingGetEntityRepository) return null;
_callingGetEntityRepository = true;
try {
return _getEntityRepositoryByTypeImpl<O>(type) ??
EntityRepositoryProvider.globalProvider
.getEntityRepositoryByType<O>(type);
} finally {
_callingGetEntityRepository = false;
}
}