DayClipModel class

日期数据模型

Constructors

DayClipModel(int year, int month, int day, {DayClipData? data})
DayClipModel.now({DayClipData? data})
factory

Properties

data DayClipData?
每日数据
final
day int
final
hashCode int
The hash code for this object.
no setterinherited
month int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int
final

Methods

isNow() bool
是否为今天
isSame(DayClipModel dayClipModel) bool
是否为同一天
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited