allPositive property

bool get allPositive

Whether all elements are positive (> 0).

Implementation

bool get allPositive => every((e) => e > 0);