toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NetworkDirection.$in:
      return 'IN';
    case NetworkDirection.out:
      return 'OUT';
  }
}