isPositive property

bool get isPositive

Implementation

bool get isPositive {
  if (isEmpty) {
    return false;
  }

  return !any((element) => !element.isPositive);
}