intEnum<T> method Null safety

  1. @protected
ColumnBuilder<int> intEnum<T>()

Creates a column to store an enum class T.

In the database, the column will be represented as an integer corresponding to the enum's index. Note that this can invalidate your data if you add another value to the enum class.

Implementation

@protected
ColumnBuilder<int> intEnum<T>() => _isGenerated();