ClassTemplate class
Template for generating asset constant classes.
Encapsulates the structure and formatting of generated asset classes, providing consistent output across all generated files.
Constructors
Properties
-
assets
→ List<
Asset> -
List of assets to include in the class.
final
- className → String
-
The name of the generated class.
final
- directoryName → String
-
The source directory name for documentation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- packagePath → String
-
The package path prefix for asset references.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → String - Renders the complete class template.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited