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 error
inherited
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
setCountryCode(String? countryCode) → void
Sets the country code. Used to change currency units. eg: "US", "NP", "IN" etc.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

countryCode String?
get country code.
no setter
instance ShopifyLocalization
Singleton instance of ShopifyLocalization
final