ShopifyLocalization class
ShopifyLocalization provides various methods related to the localization.
- 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 -
getLocalization(
{String? countrycode, String? languageCode}) → Future< Localization> - Returns an instance of Localization.
-
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 → ShopifyLocalization
-
final