DryRunWriteStrategy class

Logs intended writes without touching the file system.

Implemented types

Constructors

DryRunWriteStrategy.new(Logger logger)
Creates a strategy that logs to the provided logger.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger
Logger used to print file paths and contents.
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
toString() String
A string representation of this object.
inherited
write(GeneratedFile file) Future<void>
Prints the target path and file contents instead of writing to disk.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited