ActivationInfo constructor

ActivationInfo({
  1. required ActivationStatus status,
  2. required DateTime expiry,
  3. required String licenseKey,
  4. required String appToken,
  5. required String deviceFingerprint,
  6. required String id,
})

Creates a new ActivationInfo instance.

API users should typically not create instances directly, but obtain them from ActivationService.getActivationsForProduct.

Parameters

  • status: The status of this activation.
  • expiry: The UTC expiry time of this activation.
  • licenseKey: The license key that was used to perform the activation.
  • appToken: The application token that enables usage of related online services.
  • deviceFingerprint: UUID v4 that uniquely identifies the device.
  • id: UUID v4 that uniquely identifies this activation record on the device.

Implementation

ActivationInfo({
  required this.status,
  required this.expiry,
  required this.licenseKey,
  required this.appToken,
  required this.deviceFingerprint,
  required this.id,
});