toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Fault.client:
      return 'Client';
    case Fault.server:
      return 'Server';
    case Fault.unknown:
      return 'Unknown';
  }
}