toAccessDirection method
Implementation
AccessDirection toAccessDirection() {
switch (this) {
case 'inbound':
return AccessDirection.inbound;
case 'outbound':
return AccessDirection.outbound;
}
throw Exception('$this is not known in enum AccessDirection');
}