toType method
Implementation
Type toType() {
switch (this) {
case 'CONVERSATION':
return Type.conversation;
case 'DICTATION':
return Type.dictation;
}
throw Exception('$this is not known in enum Type');
}
Type toType() {
switch (this) {
case 'CONVERSATION':
return Type.conversation;
case 'DICTATION':
return Type.dictation;
}
throw Exception('$this is not known in enum Type');
}