toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MessageType.raw:
      return 'RAW';
    case MessageType.digest:
      return 'DIGEST';
  }
}