CompositionRequest class

Request model encapsulating all parameters for template composition.

Constructors

CompositionRequest({required String baseTemplateId, String baseVersionConstraint = '*', List<String> extensionIds = const [], OverrideStrategy conflictPolicy = OverrideStrategy.fail, CompatibilityPolicy compatibilityPolicy = CompatibilityPolicy.standard, String? targetProjectType, List<String> requiredCapabilities = const []})
const

Properties

baseTemplateId → String
Primary base template ID identifier.
final
baseVersionConstraint → String
Optional version constraint for base template.
final
compatibilityPolicy → CompatibilityPolicy
Compatibility policy to apply during resolution.
final
conflictPolicy → OverrideStrategy
File path conflict resolution policy.
final
extensionIds → List<String>
Ordered list of feature/extension template IDs to compose onto base.
final
hashCode → int
The hash code for this object.
no setterinherited
requiredCapabilities → List<String>
Required capability tags that must be provided by the composite template.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetProjectType → String?
Optional target project archetype requested.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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