DVPageBundle class

A set of page documents shipped together — the unit an OTA patch carries.

Editor changes reach a running app through DVPageStore.changes. This is how they reach an installed one: the bundle travels with a release or patch, and applying it writes the documents into the store, at which point the running app picks them up through the same change stream.

Constructors

DVPageBundle({required String version, List<DVPageDocument> pages = const <DVPageDocument>[], List<String> removedRoutes = const <String>[]})
const
DVPageBundle.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pages List<DVPageDocument>
final
removedRoutes List<String>
Routes whose documents this bundle removes, restoring their compiled pages. Without this an edit could be shipped but never withdrawn.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The release this bundle belongs to, for provenance in logs and rollback.
final

Methods

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

Operators

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

Static Methods

decode(String source) DVPageBundle