parseSimType static method

String parseSimType(
  1. String type
)

Implementation

static String parseSimType(String type) {
  switch (type) {
    case 'physical':
      return "physical";
    case 'esim':
      return "esim";
    default:
      return "unknown";
  }
}