toReservationResourceType method
Implementation
ReservationResourceType toReservationResourceType() {
switch (this) {
case 'INPUT':
return ReservationResourceType.input;
case 'OUTPUT':
return ReservationResourceType.output;
case 'MULTIPLEX':
return ReservationResourceType.multiplex;
case 'CHANNEL':
return ReservationResourceType.channel;
}
throw Exception('$this is not known in enum ReservationResourceType');
}