DirectoryGeneratorTarget class

A GeneratorTarget based on a provided Directory.

Inheritance

Constructors

DirectoryGeneratorTarget(Directory dir)
A GeneratorTarget based on a provided Directory.

Properties

dir Directory
The target Directory.
final
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.
override
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