StoreCollectionData class
Ownership and trial data for a SKU in the user's Store collection.
Constructors
- StoreCollectionData({DateTime? acquiredAt, DateTime? startsAt, DateTime? endsAt, bool? isTrial, Duration? trialTimeRemaining, String? campaignId, String? developerOfferId, String? extendedJsonData})
-
Creates a Store collection value.
const
-
StoreCollectionData.fromJson(Map<
String, dynamic> json) -
Creates collection data from a structured channel payload.
factory
Properties
- acquiredAt → DateTime?
-
UTC acquisition time.
final
- campaignId → String?
-
Campaign identifier associated with the acquisition.
final
- developerOfferId → String?
-
Developer offer identifier associated with the acquisition.
final
- endsAt → DateTime?
-
UTC entitlement end time.
final
- extendedJsonData → String?
-
Raw extended JSON supplied by Microsoft Store.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTrial → bool?
-
Whether this collection entry represents a trial.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startsAt → DateTime?
-
UTC entitlement start time.
final
- trialTimeRemaining → Duration?
-
Remaining trial duration, when available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this collection data to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited