getString method

String? getString(
  1. String key, [
  2. Map<String, String>? placeholders
])

Implementation

String? getString(String key, [Map<String, String>? placeholders]) {
  switch (key) {
    case I18nKeys.goalPaymentIsDue:
      return goalPaymentIsDue(placeholders?["date"] ?? "");
    case I18nKeys.goalPaymentFailedAndPaymentIsDue:
      return goalPaymentFailedAndPaymentIsDue(placeholders?["depositNumber"] ?? "", placeholders?["date"] ?? "");
    case I18nKeys.redemptionInProgress:
      return redemptionInProgress;
    case I18nKeys.nextPaymentIsDueOn:
      return nextPaymentIsDueOn(placeholders?["date"] ?? "");
    case I18nKeys.lastDateToDepositIs:
      return lastDateToDepositIs(placeholders?["date"] ?? "");
    case I18nKeys.waitingForRewardToBeCredited:
      return waitingForRewardToBeCredited(placeholders?["rewardAmount"] ?? "", placeholders?["activationDate"] ?? "");
    case I18nKeys.goalCompleted:
      return goalCompleted;
    case I18nKeys.goalDiscontinued:
      return goalDiscontinued;
    case I18nKeys.processingDepositPayment:
      return processingDepositPayment;
    case I18nKeys.goalRedeemed:
      return goalRedeemed;
    case I18nKeys.goalWithdrawalInitiated:
      return goalWithdrawalInitiated;
    case I18nKeys.goalRedemptionInitiated:
      return goalRedemptionInitiated;
    case I18nKeys.goalDetailBottomExtraText:
      return goalDetailBottomExtraText;
    case I18nKeys.goalWithdrawalWhenRedeemingWithUpcomingRewardsZero:
      return goalWithdrawalWhenRedeemingWithUpcomingRewardsZero(placeholders?["rewardAmount"] ?? "", placeholders?["activationDate"] ?? "");
    case I18nKeys.goalDetailImageSubtitle:
      return goalDetailImageSubtitle(placeholders?["tenure"] ?? "", placeholders?["totalRewardAmount"] ?? "", placeholders?["endDate"] ?? "");
    case I18nKeys.goalDetailImageSubtitleAfterEnded:
      return goalDetailImageSubtitleAfterEnded(placeholders?["tenure"] ?? "", placeholders?["stopDate"] ?? "");
    case I18nKeys.goalDetailNameSubtitle:
      return goalDetailNameSubtitle(placeholders?["totalBalance"] ?? "", placeholders?["endDate"] ?? "");
    case I18nKeys.redemptionExplanationText:
      return redemptionExplanationText(placeholders?["amount"] ?? "");
    case I18nKeys.withdrawalExplanationText:
      return withdrawalExplanationText(placeholders?["withdrawAmount"] ?? "");
    case I18nKeys.withdrawalExplanationTextWithLapseAmount:
      return withdrawalExplanationTextWithLapseAmount(placeholders?["withdrawAmount"] ?? "", placeholders?["lapseAmount"] ?? "");
    case I18nKeys.planStoppedContinueToRedeem:
      return planStoppedContinueToRedeem(placeholders?["date"] ?? "");
    case I18nKeys.planCompletedRedemptionPossible:
      return planCompletedRedemptionPossible(placeholders?["date"] ?? "");
    case I18nKeys.planCompletedAndFullyRedeemed:
      return planCompletedAndFullyRedeemed;
    case I18nKeys.goalWaitListTitle:
      return goalWaitListTitle;
    case I18nKeys.goalWaitListSubtitle:
      return goalWaitListSubtitle;
    case I18nKeys.newVersionAvailableTitle:
      return newVersionAvailableTitle;
    case I18nKeys.newVersionAvailableDescription:
      return newVersionAvailableDescription;
    case I18nKeys.appCompanyTrademark:
      return appCompanyTrademark;
    case I18nKeys.shareAppSubject:
      return shareAppSubject;
    case I18nKeys.shareAppMessage:
      return shareAppMessage;
    case I18nKeys.saveUpToXPercent:
      return saveUpToXPercent(placeholders?["value"] ?? "");
    case I18nKeys.goalCreateTitle:
      return goalCreateTitle;
    case I18nKeys.tenureSliderHelpText:
      return tenureSliderHelpText(placeholders?["duration"] ?? "");
    case I18nKeys.fixedTenureSliderHelpText:
      return fixedTenureSliderHelpText(placeholders?["duration"] ?? "");
    case I18nKeys.depositAmountSliderHelpText:
      return depositAmountSliderHelpText(placeholders?["duration"] ?? "");
    case I18nKeys.fixedDepositAmountSliderHelpText:
      return fixedDepositAmountSliderHelpText(placeholders?["duration"] ?? "");
    case I18nKeys.fundsParkedWithText:
      return fundsParkedWithText;
    case I18nKeys.paymentPoweredByText:
      return paymentPoweredByText(placeholders?["imageUrl"] ?? "");
    case I18nKeys.nextPaymentDueOn:
      return nextPaymentDueOn(placeholders?["date"] ?? "");
    case I18nKeys.depositPendingDescription:
      return depositPendingDescription;
    case I18nKeys.depositFailedDescription:
      return depositFailedDescription;
    case I18nKeys.whenRedeemingAfterGoalExit:
      return whenRedeemingAfterGoalExit;
    case I18nKeys.whenWithdrawingAfterGoalExitWithNoReward:
      return whenWithdrawingAfterGoalExitWithNoReward;
    case I18nKeys.considerPartnerInstead:
      return considerPartnerInstead;
    case I18nKeys.considerContinuingWithThePlan:
      return considerContinuingWithThePlan;
    case I18nKeys.whenWithdrawingAfterGoalExitWithReward:
      return whenWithdrawingAfterGoalExitWithReward(placeholders?["losingReward"] ?? "");
    case I18nKeys.whenWithdrawingWhileHavingAccruedReward:
      return whenWithdrawingWhileHavingAccruedReward;
    case I18nKeys.whenWithdrawingWhileHavingNoAccruedReward:
      return whenWithdrawingWhileHavingNoAccruedReward;
    case I18nKeys.whenRedeemingAfterGoalCompleted:
      return whenRedeemingAfterGoalCompleted;
    case I18nKeys.whenRedeemingInBetween:
      return whenRedeemingInBetween(placeholders?["remainingRewards"] ?? "");
    case I18nKeys.paymentThroughUPIOption:
      return paymentThroughUPIOption;
    case I18nKeys.switchBrandTitle:
      return switchBrandTitle;
    case I18nKeys.switchBrandSubtitle:
      return switchBrandSubtitle;
    case I18nKeys.switchBrandOnceText:
      return switchBrandOnceText;
    case I18nKeys.switchBrandConfirmInfo:
      return switchBrandConfirmInfo;
    case I18nKeys.switchBrandConfirmTitle:
      return switchBrandConfirmTitle(placeholders?["currentBrandName"] ?? "", placeholders?["newBrandName"] ?? "");
    case I18nKeys.paymentFailedInfoMessage:
      return paymentFailedInfoMessage;
    case I18nKeys.useAtAnyPartnerStore:
      return useAtAnyPartnerStore(placeholders?["partnerName"] ?? "");
    case I18nKeys.voucherWillBeGeneratedAsync:
      return voucherWillBeGeneratedAsync;
    case I18nKeys.voucherCustomizationHelperText:
      return voucherCustomizationHelperText;
    case I18nKeys.autoMandateCancelSuccessStatus:
      return autoMandateCancelSuccessStatus;
    case I18nKeys.autoMandateCancelSuccessStatusDescription:
      return autoMandateCancelSuccessStatusDescription;
    case I18nKeys.autoMandateResumeSuccessStatus:
      return autoMandateResumeSuccessStatus;
    case I18nKeys.autoMandateResumeSuccessStatusDescription:
      return autoMandateResumeSuccessStatusDescription;
    case I18nKeys.autoMandateActivationSuccessStatement:
      return autoMandateActivationSuccessStatement;
    case I18nKeys.autoMandateActivationSuccessDescription:
      return autoMandateActivationSuccessDescription;
    case I18nKeys.autoMandateActivationFailureStatement:
      return autoMandateActivationFailureStatement;
    case I18nKeys.autoMandateActivationFailureDescription:
      return autoMandateActivationFailureDescription;
    case I18nKeys.autoMandateAuthoriseStatement:
      return autoMandateAuthoriseStatement;
    case I18nKeys.autoMandateAuthoriseDescription:
      return autoMandateAuthoriseDescription;
    case I18nKeys.autoMandateAuthoriseStep1:
      return autoMandateAuthoriseStep1;
    case I18nKeys.autoMandateAuthoriseStep2:
      return autoMandateAuthoriseStep2;
    case I18nKeys.autoMandateAuthoriseStep3:
      return autoMandateAuthoriseStep3;
    case I18nKeys.autoMandateSetUpAcceptanceStatement:
      return autoMandateSetUpAcceptanceStatement;
    case I18nKeys.autoMandateSetUpNotificationStatement:
      return autoMandateSetUpNotificationStatement;
    case I18nKeys.autoMandateDisableConfirmationQuestion:
      return autoMandateDisableConfirmationQuestion;
    case I18nKeys.autoMandateDisableConfirmationStatement1:
      return autoMandateDisableConfirmationStatement1;
    case I18nKeys.autoMandateDisableConfirmationStatement2:
      return autoMandateDisableConfirmationStatement2;
    case I18nKeys.autoMandateCancellationConfirmationQuestion:
      return autoMandateCancellationConfirmationQuestion;
    case I18nKeys.autoMandateCancellationConfirmationStatement1:
      return autoMandateCancellationConfirmationStatement1;
    case I18nKeys.autoMandateCancellationConfirmationStatement2:
      return autoMandateCancellationConfirmationStatement2;
    case I18nKeys.autoMandateEnabledHeading:
      return autoMandateEnabledHeading;
    case I18nKeys.autoMandateEnabledStatement:
      return autoMandateEnabledStatement;
    case I18nKeys.autoMandateEnableHeadingAfterFirstPaymentSuccess:
      return autoMandateEnableHeadingAfterFirstPaymentSuccess;
    case I18nKeys.autoMandateEnableDescriptionAfterFirstPaymentSuccess:
      return autoMandateEnableDescriptionAfterFirstPaymentSuccess;
    case I18nKeys.autoMandateActivationPendingTitle:
      return autoMandateActivationPendingTitle;
    case I18nKeys.autoMandateActivationPendingDescription:
      return autoMandateActivationPendingDescription;
    case I18nKeys.autoMandateSetupNote:
      return autoMandateSetupNote;
  }
  return null;
}