GeneratorTarget class abstract
A target for a Generator
.
This class knows how to create files given a path and contents.
See also:
- DirectoryGeneratorTarget, a GeneratorTarget based on a provided Directory.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createFile(
String path, List< int> contents, {Logger? logger, OverwriteRule? overwriteRule}) → Future<GeneratedFile> - Create a file at the given path with the given contents.
-
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