convertFromEnumToString static method

String convertFromEnumToString(
  1. FPayPalCurrencyCode currencyCode
)

Implementation

static String convertFromEnumToString(FPayPalCurrencyCode currencyCode) {
  if (codes[currencyCode] != null) {
    return codes[currencyCode]!;
  }
  return codes[FPayPalCurrencyCode.usd]!;
}