toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EventType.system:
      return 'SYSTEM';
    case EventType.createAction:
      return 'CREATE_ACTION';
    case EventType.deleteAction:
      return 'DELETE_ACTION';
    case EventType.updateAction:
      return 'UPDATE_ACTION';
    case EventType.executeAction:
      return 'EXECUTE_ACTION';
  }
}