Section class
Constructors
Properties
- detail ↔ String?
-
Detail is what this phase of the journey is for, in prose.
getter/setter pair
- enabled ↔ bool?
-
Enabled is the admin lever. Absent reads as ON, so only an explicit false turns a phase off — and it takes every step filed under it out of the journey, not just the heading.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the slug a step's
sectionnames to file itself under this phase.getter/setter pair - order ↔ int?
-
Order places the phase in the journey, ascending. Ties fall back to authoring order, and an omitted order sorts as 0 — ahead of everything.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
Title is the phase heading a person reads above its steps.
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) → Section? -
Returns a new Section instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Section> -
mapFromJson(
dynamic json) → Map< String, Section> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Section> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.