BlueprintView class

Constructors

BlueprintView({Blueprint? blueprint, String? brand, BlueprintCounts? counts, int? version})
Returns a new BlueprintView instance.

Properties

blueprint ↔ Blueprint?
Blueprint is the whole authored document, including items disabled for the org-facing reads, with every enabled flag written out explicitly.
getter/setter pair
brand ↔ String?
Brand is the key this blueprint is stored under — the deployment's brand, or "" for the shared base blueprint it falls back to.
getter/setter pair
counts ↔ BlueprintCounts?
Counts summarises how many items each collection holds.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version ↔ int?
Version is the active stored version number (1 is the seed). Each edit appends a new one; nothing is ever overwritten.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → BlueprintView?
Returns a new BlueprintView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BlueprintView>
mapFromJson(dynamic json) → Map<String, BlueprintView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BlueprintView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.