DateTimeIntervalType enum Null safety

Interval type of the DateTime axis.



auto → const DateTimeIntervalType
  •, will calculate interval based on the data points.
const DateTimeIntervalType(0)
days → const DateTimeIntervalType
  • DateTimeIntervalType.days, will consider interval as days.
const DateTimeIntervalType(3)
hours → const DateTimeIntervalType
  • DateTimeIntervalType.hours, will consider interval as hours.
const DateTimeIntervalType(4)
minutes → const DateTimeIntervalType
  • DateTimeIntervalType.minutes, will consider interval as minutes.
const DateTimeIntervalType(5)
months → const DateTimeIntervalType
  • DateTimeIntervalType.months, will consider interval as months.
const DateTimeIntervalType(2)
seconds → const DateTimeIntervalType
  • DateTimeIntervalType.seconds, will consider interval as seconds.
const DateTimeIntervalType(6)
values → const List<DateTimeIntervalType>

A constant List of the values in this enum, in order of their declaration.

const List<DateTimeIntervalType>
years → const DateTimeIntervalType
  • DateTimeIntervalType.years, will consider interval as years.
const DateTimeIntervalType(1)


hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]