value property

String get value

Implementation

String get value {
  switch (this) {
    case LayrzProtocolMode.tcp:
      return 'TCP';
    case LayrzProtocolMode.http:
    default:
      return 'HTTP';
  }
}