toCharLengthSemantics method

CharLengthSemantics toCharLengthSemantics()

Implementation

CharLengthSemantics toCharLengthSemantics() {
  switch (this) {
    case 'default':
      return CharLengthSemantics.$default;
    case 'char':
      return CharLengthSemantics.char;
    case 'byte':
      return CharLengthSemantics.byte;
  }
  throw Exception('$this is not known in enum CharLengthSemantics');
}