Location class

The class contains settings about the device location.

Constructors

Location(double latitude, double longitude, {String? provider, double? altitude, double? accuracy, double? course, double? speed, int? timestamp})
Creates an object of the Location class with the specified parameters. The parameters latitude, longitude are required.
const

Properties

accuracy double?
final
altitude double?
final
course double?
final
hashCode int
The hash code for this object.
no setterinherited
latitude double
final
longitude double
final
provider String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
final
timestamp int?
final

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