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