ModuleLibraryBuilder class
Creates .module.library
assets listing the dependencies and parts for a
Dart library, as well as whether it is an entrypoint.
The output format is determined by ModuleLibrary.serialize
and can be
restored by ModuleLibrary.deserialize
.
Non-importable Dart source files will not get a .module.library
asset
output. See ModuleLibrary.isImportable
.
Constructors
- ModuleLibraryBuilder()
-
const
Properties
-
buildExtensions
→ Map<
String, List< String> > -
Mapping from input file extension to output file extensions.
final
- 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 -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited