TemplateValues class final
Values for the template variables in catalog metadata.
Constructors
- TemplateValues({required String packagePath, required String packageName, String? packageVersion})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageName → String
-
final
- packagePath → String
-
The package path relative to the workspace root, with
/separators.final - packageVersion → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
expand(
String text) → String -
Replaces
DPK_PACKAGE_PATH,DPK_PACKAGE_NAME, andDPK_PACKAGE_VERSIONintext, written bare, with$, or with${}. -
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