TemplateTestRequest class
Input request specifying the template and target test profile.
Constructors
- TemplateTestRequest({Template? rawTemplate, ResolvedTemplate? resolvedTemplate, TemplateTestProfile profile = TemplateTestProfile.standard, TemplateContext? context, bool dryRun = true})
-
Creates a TemplateTestRequest.
const
Properties
- context → TemplateContext?
-
Optional context variables.
final
- dryRun → bool
-
Flag specifying if execution is dry-run preview mode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manifest → dynamic
-
Primary manifest.
no setter
- profile → TemplateTestProfile
-
Target testing profile.
final
- rawTemplate → Template?
-
Raw template target (if testing a single raw template).
final
- resolvedTemplate → ResolvedTemplate?
-
Composed resolved template target (if testing a resolved template).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- templateId → String
-
Target template identifier.
no setter
- version → String
-
Target template version.
no setter
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