BaseBuilder<_ClassAnnotation> class abstract

Implementers

Constructors

BaseBuilder()

Properties

buildExtensions Map<String, List<String>>
Mapping from input file extension to output file extensions.
no setter
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
no setter
outputExtension String
The cached file this will produce
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeChecker → TypeChecker
final

Methods

build(BuildStep buildStep) FutureOr<void>
Generates the outputs for a given BuildStep.
inherited
getAnnotatedElements(BuildStep buildStep) Future<Iterable<AnnotatedElement>>
Classes with the class-level annotation. For example, ConnectOfflineFirstWithRest.
logStopwatch(String task, Stopwatch stopwatch) → void
After a task has completed, log time to completion.
manuallyUpsertAppFile(String path, String contents) Future<File>
Create or write to file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceWithinFile(String path, Pattern from, String to) Future<File?>
Replace contents of file
stopwatchToSeconds(Stopwatch stopwatch) String
Stop stopwatch and conditionally format elapsed time as seconds or ms
toString() String
A string representation of this object.
inherited

Operators

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

Constants

aggregateExtension → const String