LocationData class
Resolved location for an onboarding location field.
Mirrors the native LocationData (iOS LocationData / Android
ai.appdna.sdk.onboarding.LocationData).
Every field except formattedAddress is optional. A user who
typed an address without picking a suggestion yields
{formattedAddress: <text>, rawQuery: <text>} with every other field null
(no coordinates); a picked suggestion fills the rest when the lookup had it.
A missing value is null — never a made-up '', 0.0, 'UTC' or 0.
Constructors
Properties
- city → String?
-
final
- country → String?
-
final
- countryCode → String?
-
final
- formattedAddress → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
final
- longitude → double?
-
final
- postalCode → String?
-
final
- rawQuery → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
final
- stateCode → String?
-
final
- timezone → String?
-
final
- timezoneOffset → 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