messages property

List<Map<String, dynamic>> messages

Implementation

List<Map<String, dynamic>> get messages {
 final List<Map<String, dynamic>> result = [
   {
     "title": isStandard
         ? "Your Standard Rates Are Ready Instantly!"
         : "Your Exclusive PLUS Rates Are Being Handcrafted… With Love & Quality!",
     "subtitle": isStandard
         ? "Our advanced search engines have swiftly scanned available flights to present you with the best Standard Rates in real-time. Enjoy immediate access to competitive pricing and seamless booking experiences."
         : "Good things take time - great things take just 1 to 5 minutes. Right now, our real-time search credit engines are working their magic, scanning the skies to find the most unmatched Exclusive PLUS Rates just for you.",
     "image": ''
   },
   {
     "title": "Ready For Takeoff.... Search, Spend & Share Smart.",
     "subtitle": "",
     "image": 'assets/flight_search/payment.png'
   },
 ];

 if (isExclusivePlus) {
   result.add({
     "title": "",
     "subtitle":
         "In the meantime… why not explore the Standard Price flights? They’re right here, right now, ready for takeoff! No waiting, but no Exclusive PLUS Rates - just pick your seat, pay with crypto or card, and boom, you’re booked!",
     "image": ''
   });
 }

 return result;
  }