PartBuilder class Null safety
A Builder which generates
part of files.
This builder should be avoided - prefer using SharedPartBuilder and
generating content that can be merged with output from other builders into a
.g.dart part file.
Each output should correspond to a
part directive in the primary input,
this will be validated.
Content output by each generator is concatenated and written to the output.
part of directive will automatically be included in the output and
should not need be written by any of the generators.
- allowSyntaxErrors → bool
Whether to allow syntax errors in input libraries.
String, List< String>>
Mapping from input file extension to output file extensions. [...]
- formatOutput → String Function(String)
Function that determines how the generated code is formatted.
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.