TimeRangeOption class

A selectable range for area charts.

Constructors

TimeRangeOption({required String value, required String label, required int days})
Creates a time range option.
const

Properties

days → int
Number of days to show from the reference date.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
Visible range label.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
Stable value used by the WebView selector.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Serializes this time range option for the area chart selector.
toString() → String
A string representation of this object.
inherited

Operators

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