valueFromName static method

BinPaper_TD2120N valueFromName(
  1. String name
)

Implementation

static BinPaper_TD2120N valueFromName(String name) {
  for (int i = 0; i < _values.length; i++) {
    if (_values[i].getName() == name) {
      return _values[i];
    }
  }
  return UNSUPPORTED;
}