Solution class

Class representing a Model's Solution and its Nodes.

Properties

actions → Map<String, ActionNodeSpec>
final
components → Map<String, WidgetNodeSpec>
final
hashCode → int
The hash code for this object.
no setterinherited
landingScreen → String
final
name → String
final
requests → Map<String, RootNodeSpec>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screens → Map<String, WidgetNodeSpec>
final
templates → Map<String, WidgetNodeSpec>
final
type → String
final

Methods

getAction(String id) → ActionNodeSpec?
getComponent(String id) → WidgetNodeSpec?
getRequest(String id) → RootNodeSpec?
getScreen(String id) → WidgetNodeSpec?
getTemplate(String id) → WidgetNodeSpec?
merge(Solution otherSolution) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
upsertAction(Map spec) → void
upsertComponent(Map spec) → void
upsertRequest(Map spec) → void
upsertScreen(Map spec) → void
upsertTemplate(Map spec) → void

Operators

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

Static Properties

environment → String?
no setter
environmentData → EnvironmentData
final
environmentVariables ↔ Map<String, String>
getter/setter pair
language → String
no setter
languages → List<String>
no setter
stringResources → StringResources
final

Static Methods

empty(String name, String environment, {String landingScreen = "", String language = "en"}) → Solution
fromMap(Map solutionData, String environment, {String language = "en"}) → Solution
setEnvironment(String environment) → void
setLanguage(String? language) → bool