WebEntrypointBuilder class
A builder which compiles entrypoints for the web.
Supports dart2js
and dartdevc
.
Constructors
-
WebEntrypointBuilder(WebCompiler webCompiler, {List<
String> dart2JsArgs = const [], required bool nullAssertions, required bool? soundNullSafetyOverride, required bool nativeNullAssertions}) -
const
- WebEntrypointBuilder.fromOptions(BuilderOptions options)
-
factory
Properties
-
buildExtensions
→ Map<
String, List< String> > -
Mapping from input file extension to output file extensions.
final
-
dart2JsArgs
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nativeNullAssertions → bool
-
Whether or not to enable runtime non-null assertions for values returned
from browser apis.
final
- nullAssertions → bool
-
Whether or not to enable runtime null assertions in unsound mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- soundNullSafetyOverride → bool?
-
Explicit configuration from the user to enable or disable sound null
safety if provided, otherwise
null
.final - webCompiler → WebCompiler
-
final
Methods
-
build(
BuildStep buildStep) → Future< 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited