applyToRoot function
Apply builder
to the root package.
Creates a BuilderApplication
which corresponds to an empty builder key so
that no other build.yaml
based configuration will apply.
Implementation
BuilderApplication applyToRoot(Builder builder,
{bool isOptional = false,
bool hideOutput = false,
InputSet generateFor = const InputSet()}) =>
BuilderApplication.forBuilder('', [(_) => builder], toRoot(),
isOptional: isOptional,
hideOutput: hideOutput,
defaultGenerateFor: generateFor);