ManifestComponent class final

A plan's format and its kits' versions, on its root.

Annotations

Constructors

ManifestComponent({int format = 1, required Map<String, String> kits})
Throws ArgumentError when format is below 1, a key of kits is not a kit id or a version is empty. kits is copied, sorted by kit id.

Properties

format → int
final
hashCode → int
The hash code for this object.
no setteroverride
kits → Map<String, String>
Kit id → the kit's version that last saved the plan, sorted by id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeId → String
no setter

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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, Object?> json) → ManifestComponent

Constants

componentTypeId → const String