LibraryBuilder class Null safety
A Builder which generates standalone Dart library files.
A single Generator is responsible for generating the entirety of the output since it must also output any relevant import directives at the beginning of it's output.
- Inheritance
- Available Extensions
Constructors
Properties
- allowSyntaxErrors → bool
-
Whether to allow syntax errors in input libraries.
final, inherited
-
buildExtensions
→ Map<
String, List< String> > -
Mapping from input file extension to output file extensions. [...]
final, inherited
- formatOutput → String Function(String)
-
Function that determines how the generated code is formatted.
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
build(
BuildStep buildStep) → Future -
Generates the outputs for a given BuildStep.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited