FrequentLocation class

A frequently visited location (cluster center).

Constructors

FrequentLocation({required Coords center, required int visitCount, required Duration totalDuration, String? name})
Creates a frequent location.
const

Properties

center Coords
Center coordinates of the cluster.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Optional name or identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDuration Duration
Total time spent at this location.
final
visitCount int
Number of visits to this location.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
Converts to a map.
toString() String
A string representation of this object.
inherited

Operators

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