toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccessDirection.inbound:
      return 'inbound';
    case AccessDirection.outbound:
      return 'outbound';
  }
}