isValid property

bool get isValid

Implementation

bool get isValid {
  return isNotEmpty && !any((element) => !element.isValid);
}