VersionMeta class
Constructors
- VersionMeta({String? brand, int? updatedAt, int? version})
- Returns a new VersionMeta instance.
Properties
- brand ↔ String?
-
Brand is the white-label key this revision was authored under; empty is the shared base playbook. Revisions of two brands never share a number line.
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
- updatedAt ↔ int?
-
UpdatedAt is when this revision was written, as Unix seconds — the "who changed the playbook, and when" half of the audit trail.
getter/setter pair
- version ↔ int?
-
Version is the store's own revision counter for that brand, starting at 1 for the seeded playbook and incrementing on every edit. Nothing is overwritten, so the highest number is the live one and every lower number is still readable. It is not the playbook's authored
versionstring.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) → VersionMeta? -
Returns a new VersionMeta instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< VersionMeta> -
mapFromJson(
dynamic json) → Map< String, VersionMeta> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< VersionMeta> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.