currentTestDataSource top-level property
DataSource?
get
currentTestDataSource
Get the current test data source (valid inside ormedGroup/ormedTest)
This is useful for accessing the datasource in setUp or tearDown blocks
within an ormedGroup.
Implementation
DataSource? get currentTestDataSource => _currentGroupContext?.dataSource;