dateTime method Null safety

  1. @protected
ColumnBuilder<DateTime> dateTime()

Use this as the body of a getter to declare a column that holds date and time. Note that DateTime values are stored on a second-accuracy. Example (inside the body of a table class):

DateTimeColumn get accountCreatedAt => dateTime()();

Implementation

@protected
ColumnBuilder<DateTime> dateTime() => _isGenerated();