text2 static method

String text2(
  1. Datum package
)

Implementation

static String text2(Datum package) {
  switch (package.planType) {
    case PlanType.explorerPass:
      return 'Step into a World of Exclusive Perks';
    case PlanType.signaturePass:
      return 'Step into a World of Exclusive Perks';
    case PlanType.prestigePass:
      return 'A Journey Beyond Expectations';
    // case PlanType.discoveryPass:
    // case PlanType.singlePass:
    //   return 'Begin Your Journey with Neo';
    // case PlanType.elitePass:
    //   return 'For the Frequent Traveler, with Style';
    // case PlanType.sovereignPass:
    // case PlanType.sovereignPassPlus:
    //   return 'A Journey Beyond Expectations';
    default:
      return '';
  }
}