Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 406 Bytes

repository.dart.md

File metadata and controls

14 lines (12 loc) · 406 Bytes
class Repository {
    final DataProviderA dataProviderA;
    final DataProviderB dataProviderB;

    Future<Data> getAllDataThatMeetsRequirements() async {
        final RawDataA dataSetA = await dataProviderA.readData();
        final RawDataB dataSetB = await dataProviderB.readData();

        final Data filteredData = _filterData(dataSetA, dataSetB);
        return filteredData;
    }
}