BootEpoch class

Identifies a boot session within an installation and monotonic clock domain.

Constructors

BootEpoch({required String id, required String installationScope, required String clockDomain})
Creates a boot identity using values supplied by an epoch provider.
const
BootEpoch.fromMap(Map<String, Object?> value)
Decodes the string fields written by toMap.
factory

Properties

clockDomain → String
The clock domain in which elapsed times can be compared.
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
The identifier for this boot session.
final
installationScope → String
The application installation or storage scope that owns the epoch.
final
isValid → bool
Whether all three identity fields are present.
no setter
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
toMap() → Map<String, Object?>
Encodes the identity as a map for persistence.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override