toUpdateActionType method

UpdateActionType toUpdateActionType()

Implementation

UpdateActionType toUpdateActionType() {
  switch (this) {
    case 'CREATE_OR_UPDATE':
      return UpdateActionType.createOrUpdate;
    case 'DELETE':
      return UpdateActionType.delete;
  }
  throw Exception('$this is not known in enum UpdateActionType');
}