toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Operation.replace:
      return 'replace';
    case Operation.remove:
      return 'remove';
  }
}