LocalStorage class
Persistence used exclusively by the legacy Dart backend.
Preference keys are migration-sensitive and must remain stable until a separately tested storage migration is introduced.
Constructors
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
-
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 Methods
-
clearCustomerInfo(
) → Future< void> -
getAppId(
) → Future< int?> -
getAppUserIdentifier(
) → Future< String?> -
getCustomerInfo(
) → Future< CustomerInfo?> -
getForceVersion(
) → Future< int?> -
getOfferings(
) → Future< OfferingsModel?> -
getSavedDateTime(
) → Future< DateTime?> -
getToken(
) → Future< String?> -
saveAppId(
{required int appId}) → Future< void> -
saveAppUserIdentifier(
{required String appUserIdentifier}) → Future< void> -
saveCustomerInfo(
{required CustomerInfo customerInfo}) → Future< void> -
saveDateTimeForCustomerInfo(
) → Future< void> -
saveForceVersion(
{required int forceVersion}) → Future< void> -
saveOfferings(
{required OfferingsModel? offerings}) → Future< void> -
saveToken(
{required String token}) → Future< void>