toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MessageFormatValue.json:
      return 'json';
    case MessageFormatValue.jsonUnformatted:
      return 'json-unformatted';
  }
}