toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Compatibility.none:
      return 'NONE';
    case Compatibility.disabled:
      return 'DISABLED';
    case Compatibility.backward:
      return 'BACKWARD';
    case Compatibility.backwardAll:
      return 'BACKWARD_ALL';
    case Compatibility.forward:
      return 'FORWARD';
    case Compatibility.forwardAll:
      return 'FORWARD_ALL';
    case Compatibility.full:
      return 'FULL';
    case Compatibility.fullAll:
      return 'FULL_ALL';
  }
}