toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChangeAction.add:
      return 'ADD';
    case ChangeAction.modify:
      return 'MODIFY';
    case ChangeAction.remove:
      return 'REMOVE';
  }
}