allAreHtml property

bool allAreHtml

Returns whether all the resources in the collection are HTML documents.

Implementation

bool get allAreHtml => isNotEmpty && every((it) => it.mediaType.isHtml);