toEntityType method

EntityType toEntityType()

Implementation

EntityType toEntityType() {
  switch (this) {
    case 'KEY':
      return EntityType.key;
    case 'VALUE':
      return EntityType.value;
  }
  throw Exception('$this is not known in enum EntityType');
}