LicenseInfo class

Information about the SDK license.

Constructors

LicenseInfo({required LicenseStatus status, required bool isValid, required String licenseStatusMessage, required double expirationTimestamp, required String expirationDateString, required String errorMessage, required bool onlineLicenseCheckInProgress, required String license, int? devices = null, required double nextOnlineLicenseCheckInMs, required List<DeviceDeregistrationError> deviceDeregistationErrors})
LicenseInfo.fromJson(Map<String, dynamic> json)
factory

Properties

deviceDeregistationErrors List<DeviceDeregistrationError>
List of errors that occurred during device deregistration. If for some device deregistration completed successfully, it will not be listed here. For each device at most one entry will be present.
final
devices int?
Number of devices the license is valid for, if the license is floating.
final
errorMessage String
Additional error message in case of a license error.
final
expirationDateString String
Expiration date of the license or trial period in ISO 8601 date-time format.
final
expirationTimestamp double
Expiration timestamp of the license or trial period in seconds since the UNIX epoch.
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
True if the license status corresponds to a valid license.
final
license String
The currently active license. May be different from the license used to initialize the SDK if the online license check has completed and the server has sent an updated license.
final
licenseStatusMessage String
Message describing the license status.
final
nextOnlineLicenseCheckInMs double
Time in milliseconds until the next online license check will be performed. -1 if no online license check is scheduled.
final
onlineLicenseCheckInProgress bool
True if an online license check is in progress.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status LicenseStatus
License status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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