toUid method

Uid toUid()

Implementation

Uid toUid() {
  switch (this) {
    case 'NONE':
      return Uid.none;
    case 'INT_VALUE':
      return Uid.intValue;
    case 'NAME':
      return Uid.name;
    case 'BOTH':
      return Uid.both;
  }
  throw Exception('$this is not known in enum Uid');
}