DateTimeRangePreset class
Provides preset values for DateTimeRangeRelative.
Presets:
- last7Days - the last 7 days
- last30Days - the last 30 days
- last3Months - the last 3 months
- last6Months - the last 6 months
- last9Months - the last 9 months
- last12Months - the last 12 months
- last5Years - the last 5 years
- last10Years - the last 10 years
- last15Years - the last 15 years
- last20Years - the last 20 years
- last25Years - the last 25 years
- last30Years - the last 30 years
- prevWeek - the previous week
- prevMonth - the previous month
- prevYear - the previous year
- allTime - all time
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- allTime → const DateTimeRangeRelative
- last3Months → const DateTimeRangeRelative
- last5Years → const DateTimeRangeRelative
- last6Months → const DateTimeRangeRelative
- last7Days → const DateTimeRangeRelative
- last9Months → const DateTimeRangeRelative
- last10Years → const DateTimeRangeRelative
- last12Months → const DateTimeRangeRelative
- last15Years → const DateTimeRangeRelative
- last20Years → const DateTimeRangeRelative
- last25Years → const DateTimeRangeRelative
- last30Days → const DateTimeRangeRelative
- last30Years → const DateTimeRangeRelative
- prevMonth → const DateTimeRangeRelative
- prevWeek → const DateTimeRangeRelative
- prevYear → const DateTimeRangeRelative