GeoClueLocation class

Defines a geolocation

Annotations
  • @immutable

Constructors

GeoClueLocation({required double accuracy, double? altitude, String? description, double? heading, required double latitude, required double longitude, double? speed, DateTime? timestamp})
Creates a new GeoClueLocation.
const
GeoClueLocation.fromProperties(Map<String, DBusValue> values)
Creates a new GeoClueLocation from a map of values.
factory

Properties

accuracy double
The accuracy of the location fix, in meters.
final
altitude double?
The altitude of the location fix, in meters.
final
description String?
A human-readable description of the location, if available.
final
hashCode int
The hash code for this object.
no setteroverride
heading double?
The heading direction in degrees with respect to North direction, in clockwise order.
final
latitude double
The latitude of the location, in degrees.
final
longitude double
The longitude of the location, in degrees.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
The speed in meters per second.
final
timestamp DateTime?
The timestamp when the location was determined, if available.
final

Methods

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

Operators

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