toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeleteBehavior.log:
      return 'LOG';
    case DeleteBehavior.deleteFromDatabase:
      return 'DELETE_FROM_DATABASE';
    case DeleteBehavior.deprecateInDatabase:
      return 'DEPRECATE_IN_DATABASE';
  }
}