toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UpdateBehavior.log:
      return 'LOG';
    case UpdateBehavior.updateInDatabase:
      return 'UPDATE_IN_DATABASE';
  }
}