LocationInitTimeoutException class

Thrown when the location provider does not become ready within the timeout.

Most commonly occurs on emulators without GPS hardware, or devices where location services are unresponsive. Ensure location services are enabled and the device has GPS hardware.

Inheritance

Constructors

LocationInitTimeoutException({String message = 'Location provider initialization timed out. ' 'Ensure the device has GPS hardware and location services are enabled.'})

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable error message
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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