ULinkInstallationInfo class
Contains information about the current installation, including reinstall detection data.
This data is returned from the bootstrap process and indicates whether the current installation was detected as a reinstall of a previous installation.
Constructors
- ULinkInstallationInfo({required String installationId, bool isReinstall = false, String? previousInstallationId, String? reinstallDetectedAt, String? persistentDeviceId})
-
const
- ULinkInstallationInfo.freshInstall({required String installationId, String? persistentDeviceId})
-
Creates a fresh installation info (not a reinstall)
factory
-
ULinkInstallationInfo.fromJson(Map<
String, dynamic> json) -
Creates a ULinkInstallationInfo from a JSON map
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- installationId → String
-
The unique identifier for this installation (client-generated UUID)
final
- isReinstall → bool
-
Whether this installation was detected as a reinstall
final
- persistentDeviceId → String?
-
The persistent device ID used for reinstall detection
final
- previousInstallationId → String?
-
The ID of the previous installation if this is a reinstall.
Null if this is a fresh install or reinstall detection is not available.
final
- reinstallDetectedAt → String?
-
Timestamp when the reinstall was detected (ISO 8601 format)
final
- 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
-
toJson(
) → Map< String, dynamic> - Converts this instance to a JSON map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override