failedRegions property

Future<List<RecoveredRegion>> failedRegions

Get a list of all recoverable regions that correspond to failed/stopped downloads

See recoverableRegions for all regions.

Implementation

Future<List<RecoveredRegion>> get failedRegions async =>
    (await Future.wait(await recoverableRegions))
        .where((r) => !_downloadsOngoing.contains(r.id))
        .toList();