SlatePlan class
The output of a planner: a deterministic description of what the CLI intends to do for the chosen backend/service.
auth() / iap() execute the plan by:
- running
dart pub addfor each entry in packagesToAdd; - handing templates to
MetroService.createSlate; - (optionally) reading config to template the post-success message.
Tests assert against this value object instead of running the side effects.
Constructors
Properties
- config → Object?
-
The backend/service-specific slate config that produced templates. Let
the runtime template the success message (e.g. "iOS setup needed?")
without re-prompting.
nullfor choices that take no input — Basic and Firebase.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
packagesToAdd
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
templates
→ List<
NyTemplate> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited