MobilityDatum class

A Datum that holds mobility features information.

Inheritance
  • Object
  • Data
  • Datum
  • MobilityDatum
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

MobilityDatum()
MobilityDatum.fromJson(Map<String, dynamic> json)
factory
MobilityDatum.fromMobilityContext(MobilityContext context)
factory

Properties

date DateTime?
The day of this mobility features.
getter/setter pair
distanceTraveled double?
Distance traveled on date, in meters.
getter/setter pair
entropy double?
Location entropy on date.
getter/setter pair
format ↔ DataFormat
The DataFormat of this type of Datum.
getter/setter pairinherited-setteroverride-getter
hashCode int
The hash code for this object.
no setterinherited
homeStay double?
Home Stay on date. A scalar between 0 and 1.
getter/setter pair
id String?
An identifier for this Datum, unique across all data generated. If this datum is part of a MultiDatum, then this id is null.
getter/setter pairinherited
locationVariance double?
Location Variance on date.
getter/setter pair
normalizedEntropy double?
Normalized entropy on date. A scalar between 0 and 1
getter/setter pair
numberOfPlaces int?
Number of places visited on date.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The UTC timestamp when this data was generated on the device.
getter/setter pairinherited

Methods

equivalentTo(ConditionalEvent? event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Return a JSON encoding of this datum.
override
toString() String
A string representation of this object.
override

Operators

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