convertFromEnumToString static method

String convertFromEnumToString(
  1. FPayPalEnvironment payPalEnvironment
)

Implementation

static String convertFromEnumToString(FPayPalEnvironment payPalEnvironment) {
  if (codes[payPalEnvironment] != null) {
    return codes[payPalEnvironment]!;
  }
  return codes[FPayPalEnvironment.sandbox]!;
}