ModelDate.date constructor
Define the field as a date.
The date specified by year
, month
, or day
is returned.
フィールドを日付として定義します。
year
、month
、day
で指定した日付が返されます。
Implementation
const factory ModelDate.date(
int year, [
int? month,
int? day,
]) = _ModelDateWithDateTime;