toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MessageFormat.raw:
      return 'RAW';
    case MessageFormat.json:
      return 'JSON';
  }
}