Clusterable class abstract

Constructors

Clusterable({double? latitude, double? longitude, bool? isCluster, int? clusterId, int? pointsSize, String? markerId, String? childMarkerId})

Properties

childMarkerId String?
Useful for representing a cluster by referencing one of its children.
getter/setter pair
clusterId int?
Unique id for use in cluster algorithm indexing.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCluster bool?
Denote that the instance is either a cluster or an individual data point.
getter/setter pair
latitude double?
Either an individual data point's latitude or the center point latitude of a cluster's children.
getter/setter pair
longitude double?
Either an individual data point's longitude or the center point longitude of a cluster's children.
getter/setter pair
markerId String?
Attach the unique id of the instance's corresponding map marker so that it can be used as a childMarkerId for clusters.
getter/setter pair
pointsSize int?
If instance is a cluster, this is the number of child points it contains that are not themselves also clusters.
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
toString() String
A string representation of this object.
inherited

Operators

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