SKStorefrontWrapper class

Contains the location and unique identifier of an Apple App Store storefront.

Dart wrapper around StoreKit's SKStorefront.

Annotations
  • @JsonSerializable(createToJson: true)

Constructors

SKStorefrontWrapper({required String countryCode, required String identifier})
Creates a new SKStorefrontWrapper with the provided information.
SKStorefrontWrapper.fromJson(Map<String, dynamic> map)
Constructs an instance of the SKStorefrontWrapper from a key value map of data.
factory

Properties

countryCode String
The three-letter code representing the country or region associated with the App Store storefront.
final
hashCode int
The hash code for this object.
no setteroverride
identifier String
A value defined by Apple that uniquely identifies an App Store storefront.
final
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
toMap() Map<String, dynamic>
Converts the instance to a key value map which can be used to serialize to JSON format.
toString() String
A string representation of this object.
override

Operators

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