GeneratorTarget class abstract

A target for a Generator. This class knows how to create files given a path and contents.

See also:

Implementers

Constructors

GeneratorTarget()

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