RelativeDateRange class

A relative date range, specified by an offset and a duration.

The supported range of dates begins 30 days before today and ends today, i.e., the limits for these values are: offset_days >= 0 duration_days >= 1 offset_days + duration_days <= 30

Constructors

RelativeDateRange({int? durationDays, int? offsetDays})
RelativeDateRange.fromJson(Map _json)

Properties

durationDays int?
The number of days in the requested date range, e.g., for a range spanning today: 1.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
offsetDays int?
The end date of the filter set, specified as the number of days before today, e.g., for a range where the last date is today: 0.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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