getPrefix static method

String getPrefix(
  1. int type
)

Implementation

static String getPrefix(int type) {
  switch (type) {
    case NANO:
      return "nano_";
    case BANANO:
      return "ban_";
    case PAW:
      return "paw_";
    default:
      return "paw_";
  }
}