GeofenceDatum class

Holds information about a geofence event of entering, exiting, or dweling.

Inheritance
Annotations

Constructors

GeofenceDatum({String type, String name})
GeofenceDatum.fromJson(Map<String, dynamic> json)
factory

Properties

format DataFormat
The DataFormat of this Datum.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Unique identifier for the current Datum, unique across all data generated.
read / write, inherited
name String
The name of this geofence.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timestamp DateTime
The UTC timestamp for generating this data on the device.
read / write, inherited
type String
Type of geofence event. Holds information about a geofence event: [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

Constants

CARP_DATA_FORMAT → const DataFormat
The DataFormat of this type of CARPDatum.
DataFormat(NameSpace.CARP, ContextSamplingPackage.GEOFENCE)