CodeAssetExtension class final

The protocol extension for the hook/build.dart and hook/link.dart with CodeAssets and CodeConfig.

Implemented types

Constructors

CodeAssetExtension.new({required Architecture targetArchitecture, required OS targetOS, required LinkModePreference linkModePreference, CCompilerConfig? cCompiler, AndroidCodeConfig? android, IOSCodeConfig? iOS, MacOSCodeConfig? macOS})

Properties

android AndroidCodeConfig?
final
cCompiler CCompilerConfig?
final
hashCode int
The hash code for this object.
no setterinherited
iOS IOSCodeConfig?
final
linkModePreference LinkModePreference
final
macOS MacOSCodeConfig?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetArchitecture Architecture
final
targetOS OS
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupBuildInput(BuildInputBuilder input) → void
The HookConfig.buildAssetTypes this extension adds. Setup the BuildConfig for this extension.
override
setupLinkInput(LinkInputBuilder input) → void
Setup the HookConfig for this extension.
override
toString() String
A string representation of this object.
inherited
validateApplicationAssets(List<EncodedAsset> assets) Future<ValidationErrors>
Reports errors on the complete set of assets after all hooks are run.
override
validateBuildInput(BuildInput input) Future<ValidationErrors>
Reports errors from this extension on the BuildInput.
override
validateBuildOutput(BuildInput input, BuildOutput output) Future<ValidationErrors>
Reports errors from this extension on the LinkInput.
override
validateLinkInput(LinkInput input) Future<ValidationErrors>
Reports errors from this extension on the LinkInput.
override
validateLinkOutput(LinkInput input, LinkOutput output) Future<ValidationErrors>
Reports errors from this extension on the LinkOutput.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited