asString static method

String asString(
  1. int type
)

Implementation

static String asString(int type){
  switch(type){
    case large:
      return 'Large';
    case small:
      return 'Small';
    case variable:
      return 'Var';
    case omitted:
      return 'Omitted';
    default:
      return '*INVALID* $type';
  }
}