toService method
Implementation
Service toService() {
switch (this) {
case 'TURN':
return Service.turn;
}
throw Exception('$this is not known in enum Service');
}
Service toService() {
switch (this) {
case 'TURN':
return Service.turn;
}
throw Exception('$this is not known in enum Service');
}