VisitStats class

The visits of the days days up to today, counted in the viewer's own time zone.

Constructors

VisitStats.of(List<Stay> stays, DateTime now, {int days = 14})
Counts stays over the days calendar days that end with now's.
factory

Properties

averageStay → Duration?
Over the visits that have left; null while none has.
final
days → int
final
hashCode → int
The hash code for this object.
no setterinherited
perDay → List<int>
Visits per day, oldest first; the last is today.
final
perHour → List<int>
Visits per hour of the day, 0 to 23.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
today → int
no setter
total → int
no setter

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