ModelDate.now constructor

const ModelDate.now()

Define the field as a date.

Returns the time at midnight of the current date, similar to DateTime.now.

フィールドを日付として定義します。

DateTime.nowと同じ様に現在の日付の0時時点での時刻が返されます。

Implementation

const factory ModelDate.now() = _ModelDateWithNow;