streamIsValid property

Stream<bool> get streamIsValid

Implementation

Stream<bool> get streamIsValid {
  if (superValidationMap.isEmpty) return Stream.value(true);
  return streamValidation.map((event) {
    bool isValid = true;
    event.forEach((key, value) {
      if (value != null) {
        isValid = false;
      }
    });
    return isValid;
  });
}