toFeedback method
Implementation
Feedback toFeedback() {
switch (this) {
case 'USEFUL':
return Feedback.useful;
case 'NOT_USEFUL':
return Feedback.notUseful;
}
throw Exception('$this is not known in enum Feedback');
}
Feedback toFeedback() {
switch (this) {
case 'USEFUL':
return Feedback.useful;
case 'NOT_USEFUL':
return Feedback.notUseful;
}
throw Exception('$this is not known in enum Feedback');
}