DV3DSceneBundleInstaller class final
Applies scene bundles delivered with a release or OTA patch.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → DV3DSceneStore
-
final
Methods
-
appliedVersions(
) → Future< List< String> > - Versions applied, oldest first -- ordered by a counter rather than a timestamp, which two applies in one millisecond would tie.
-
apply(
DV3DSceneBundle bundle) → Future< bool> -
Writes
bundle's scenes, removes the scenes it names and records its version. Idempotent: a version already applied writes nothing, because a patch delivered twice must not undo edits made since. Returns whether anything was written. -
forget(
String version) → Future< void> -
Forgets that
versionwas applied, so shipping it again applies it. This does not restore anything by itself: a rollback ships the previous bundle, which is the only way to be sure what a device ends up with. -
isApplied(
String version) → Future< bool> -
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