DVUpdateInfo class

Constructors

DVUpdateInfo({required bool available, String? version, String? patchId, bool required = false, Map<String, String> metadata = const <String, String>{}, int rolloutPercent = 100, DVUpdateHold? hold, DateTime? notBefore, bool resetsSession = false})
const
DVUpdateInfo.fromMap(Map<Object?, Object?> map)
factory

Properties

available → bool
Whether this device should apply this now.
final
hashCode → int
The hash code for this object.
no setterinherited
heldBackByRollout → bool
Whether the staged rollout is what is holding it back.
no setter
hold → DVUpdateHold?
Why it is not being offered, when it is not. Null when available.
final
metadata → Map<String, String>
final
notBefore → DateTime?
When it will be offered, when that is known.
final
patchId → String?
final
required → bool
A minimum supported version rather than a new one. It is not staged, it does not wait for a window, and a skip does not decline it.
final
resetsSession → bool
Whether applying it clears the session first.
final
rolloutPercent → int
The share of the fleet this release has been let out to, 0 to 100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String?
final

Methods

afterReset() → DVUpdateInfo
The same release, to be applied after the session is cleared.
forDevice(String? deviceId) → DVUpdateInfo
The same release, decided against this device's place in the rollout.
heldBack(DVUpdateHold reason, {DateTime? notBefore}) → DVUpdateInfo
The same release, held back for reason.
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