CompositeWriteStrategy class
Fan-out strategy that delegates each generated file to multiple strategies sequentially.
- Implemented types
Constructors
-
CompositeWriteStrategy.new(List<
FileWriteStrategy> strategies) -
Creates a composite strategy from a list of FileWriteStrategy.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
strategies
→ List<
FileWriteStrategy> -
Strategies that will be applied in order for every file.
final
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> -
Writes the
file
using each strategy in strategies, in order.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited