isValid method

bool isValid()

Implementation

bool isValid() {
  // Check if all fields are not empty
  if (_title == null ||
      _description == null ||
      _logo == null ||
      _bannerImageUrl == null ||
      _callToActionText == null) {
    return false;
  }
  return true;
}