GeolocationCoordinates class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

GeolocationCoordinates()
factory

Properties

accuracy double

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
altitude double?

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
altitudeAccuracy double?

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
hashCode int
The hash code for this object.
no setterinherited
heading double?

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
latitude double

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
longitude double

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?

Available on GeolocationCoordinates, provided by the PropsGeolocationCoordinates extension

no setter

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