OutputBuilder class
The OutputBuilder converts each Template in the DocumentationModel
into a GeneratedFile
Constructors
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildStep buildStep) → Future< FutureOr< void> > -
Generates the outputs for a given
BuildStep
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeFile(
Template markdownPage) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- inputFileExtension → String
-
'$lib$' makes the build_runner run OutputBuilder only one time
(not for each individual file)
final
-
outputFileExtensions
→ List<
String> -
We write multiple files directly as file, which is illegal.
Reason: see writeFile.
The outputFileExtensions therefore does not really matter.
final