PluginManifest class

The decoded manifest.

Constructors

PluginManifest(List<PluginDeclaration> plugins, {int version = manifestVersion, ChangesConfig? changes, ProjectIdentity? identity, DateTime? clock, ScenarioNetwork? network})
const

Properties

changes → ChangesConfig?
What the project says about ranking its own changes, or null when it says nothing.
final
clock → DateTime?
What clock.now() reads in everything this project renders — previews, scenario steps, store shots — or null for flutterware's own pinnedClockOrigin.
final
hashCode → int
The hash code for this object.
no setterinherited
identity → ProjectIdentity?
Which package stands for the repository, or null when it says nothing.
final
network → ScenarioNetwork?
What this project's scenarios reach when nothing nearer says otherwise, or null for ScenarioNetwork.off.
final
packages → List<Pkg>
Every package any plugin names, in declaration order, deduplicated.
no setter
plugins → List<PluginDeclaration>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
final

Methods

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

fromJson(Map<String, Object?> json) → PluginManifest
parse(String source) → PluginManifest