Location class

A location. It can be indoor or outdoor, check isIndoor and isOutdoor. A valid indoor location has floorIdentifier and cartesianCoordinate.

Constructors

Location({required Coordinate coordinate, required CartesianCoordinate cartesianCoordinate, required String buildingIdentifier, required String floorIdentifier, required double accuracy, required bool isIndoor, required bool isOutdoor, required bool hasBearing, Angle? bearing, required int timestamp})

Properties

accuracy double
final
bearing Angle?
final
buildingIdentifier String
final
cartesianCoordinate CartesianCoordinate
final
coordinate Coordinate
final
floorIdentifier String
final
hasBearing bool
final
hashCode int
The hash code for this object.
no setterinherited
isIndoor bool
final
isOutdoor bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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