PlatformFix class

The answer to a single-fix request.

Constructors

PlatformFix.failed(LocationFailure failure)
const
PlatformFix.success(Position position, {Duration age = Duration.zero, LocationSource source = LocationSource.fresh})
const

Properties

age → Duration
final
failure → LocationFailure?
final
hashCode → int
The hash code for this object.
no setterinherited
position → Position?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → LocationSource
fresh or cached (the native side reused a fix younger than maxAge).
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