hasOffer method
Implementation
bool hasOffer() {
SGOfferPhase? offer = offerPhases?.firstOrNull;
if (offer != null && offer.discountedLocalisedPrice != null) {
return true;
} else {
return false;
}
}
bool hasOffer() {
SGOfferPhase? offer = offerPhases?.firstOrNull;
if (offer != null && offer.discountedLocalisedPrice != null) {
return true;
} else {
return false;
}
}