ManagedSnapshot class final
What a publish recorded of one managed instance in a layout
(PublishLayout.extra.managed, by the instance's top node id): the
version its nodes (the snapshot) were built from.
JSON: {"id": "sign_in", "version": 3, "semver": "1.1.0", "channel": "stable", "pin": 3, "digest": "…"}.
- Annotations
-
- @immutable
Constructors
- ManagedSnapshot({required String id, required int version, String semver = '', ManagedChannel channel = ManagedChannel.stable, int? pin, String digest = ''})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Object? json) → ManagedSnapshot? -
of(
Node top) → ManagedSnapshot? -
top's snapshot, or null when it isn't a managed instance.