OdbcService constructor
OdbcService(
- IOdbcRepository _repository
Creates a new OdbcService instance.
The repository parameter provides the ODBC repository implementation.
Implementation
OdbcService(this._repository) {
// Bridge repository's event source onto the broadcast controller so
// multiple consumers can subscribe without coupling to the repo.
_repoEventsSub = _repository.events.listen(_eventsController.add);
}