ActivationInfo class Activation
Represents details about a product activation stored on the device.
Contains status, expiry and identifying information for an activation entry. Instances are typically returned by ActivationService.getActivationsForProduct.
See also:
- ActivationService.getActivationsForProduct - Retrieve activation information.
- ActivationService.isActive - Check if a product is active on the device.
Constructors
- ActivationInfo({required ActivationStatus status, required DateTime expiry, required String licenseKey, required String appToken, required String deviceFingerprint, required String id})
- Creates a new ActivationInfo instance.
Properties
- appToken ↔ String
-
The application token that enables usage of related online services.
getter/setter pair
- deviceFingerprint ↔ String
-
UUID v4 that uniquely identifies the device. Used for deactivation flows.
getter/setter pair
- expiry ↔ DateTime
-
The UTC expiry time of this activation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
UUID v4 that uniquely identifies this activation record on the device.
getter/setter pair
- licenseKey ↔ String
-
The license key that was used to perform the activation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ ActivationStatus
-
The status of this activation.
getter/setter pair
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