SKPriceLocaleWrapper class

Object that indicates the locale of the price

It is a thin wrapper of NSLocale.

Annotations

Constructors

SKPriceLocaleWrapper({required String currencySymbol, required String currencyCode, required String countryCode})
Creates a new price locale for currencySymbol and currencyCode.
SKPriceLocaleWrapper.fromJson(Map<String, dynamic>? map)
Constructing an instance from a map from the Objective-C layer.
factory

Properties

countryCode String
The country code for the locale, e.g. US for US locale.
final
currencyCode String
The currency code for the locale, e.g. USD for US locale.
final
currencySymbol String
The currency symbol for the locale, e.g. $ for US locale.
final
hashCode int
The hash code for this object.
no setteroverride
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
A string representation of this object.
inherited

Operators

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

Static Methods

convertFromPigeon(SKPriceLocaleMessage msg) SKPriceLocaleWrapper
Convert from SKPriceLocaleMessage to SKPriceLocaleWrapper
convertToPigeon(SKPriceLocaleWrapper msg) → SKPriceLocaleMessage
Convert from SKPriceLocaleWrapper to SKPriceLocaleMessage