toInputDeviceTransferType method
Implementation
InputDeviceTransferType toInputDeviceTransferType() {
switch (this) {
case 'OUTGOING':
return InputDeviceTransferType.outgoing;
case 'INCOMING':
return InputDeviceTransferType.incoming;
}
throw Exception('$this is not known in enum InputDeviceTransferType');
}