ShopifyAddressAutocomplete class
ShopifyAddressAutocomplete class for address autocompletion e.g. during the checkout
- Mixed-in types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkForError(
QueryResult< Object?> queryResult, {String? key, String? errorKey}) → void -
throws a
OperationException
if the operation was wrong throws a ShopifyException if shopify reports an errorinherited -
getDetails(
AddressPrediction prediction, {String? locale, bool deleteThisPartOfCache = false}) → Future< AddressDetails> -
getPredictions(
String query, String countryCode, {String? locale, LocationInput? location, bool deleteThisPartOfCache = false}) → Future< List< AddressPrediction> > -
query
user input to get predictions from. Often called on every input changecountryCode
e.g. DE for germany -
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
Static Properties
- instance → ShopifyAddressAutocomplete
-
final