LocationError class

Location Error

Error Codes

Code Error
0 Location unknown
1 Location permission denied
2 Network error
3 Attempt to initiate location-services in background with WhenInUse authorization
408 Location timeout
499 Location request cancelled

Properties

code int
Error code
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
Error message
getter/setter pair
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
String representation of Location for print to logs.
override

Operators

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