TemplateDependency class

Declaration of a dependency required by a template.

Constructors

TemplateDependency({required String templateId, String versionConstraint = '*', bool isRequired = true})
Creates a TemplateDependency instance.
const
TemplateDependency.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isRequired → bool
Whether missing dependency fails resolution.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateId → String
Target template identifier.
final
versionConstraint → String
Version constraint string (e.g. >=1.0.0 <2.0.0).
final

Methods

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

Operators

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