StoreConfig class

Configuration for app store URLs

Constructors

StoreConfig({String? iosStoreUrl, String? androidStoreUrl, String? customUrl, String? appStoreId, String? playStorePackage})
const
StoreConfig.fromJson(Map<String, dynamic> json)
Create from JSON
factory

Properties

androidStoreUrl String?
Android Play Store URL
final
appStoreId String?
App Store app ID (for generating default iOS URL)
final
customUrl String?
Custom URL (for enterprise apps or alternative stores)
final
effectiveAndroidUrl String?
Get the Android store URL (generated or custom)
no setter
effectiveIosUrl String?
Get the iOS store URL (generated or custom)
no setter
hashCode int
The hash code for this object.
no setterinherited
iosStoreUrl String?
iOS App Store URL
final
playStorePackage String?
Play Store package name (for generating default Android URL)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? iosStoreUrl, String? androidStoreUrl, String? customUrl, String? appStoreId, String? playStorePackage}) StoreConfig
Copy with modifications
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON
toString() String
A string representation of this object.
inherited

Operators

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

Constants

empty → const StoreConfig
Empty config