archiveEntriesAllSatisfy method

Future<bool> archiveEntriesAllSatisfy(
  1. bool predicate(
    1. ArchiveEntry
    )
)

Returns whether all the Archive entry paths satisfy the given predicate.

Implementation

Future<bool> archiveEntriesAllSatisfy(
        bool Function(ArchiveEntry) predicate) async =>
    (await waitTryOr(
        false,
        () async => (await contentAsArchive())
            ?.entries()
            .then((entries) => entries.all(predicate) == true)))!;