toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImageFormat.json:
      return 'JSON';
    case ImageFormat.jSONEmbedded:
      return 'JSONEmbedded';
    case ImageFormat.jSONDetached:
      return 'JSONDetached';
  }
}