ProtocolExtension class abstract interface

An extension to the base protocol for hook/build.dart and hook/link.dart.

The extension contains callbacks to

  1. setup the input, and
  2. validate syntactic and semantic constraints.
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
setupLinkInput(LinkInputBuilder input) → void
Setup the HookConfig for this extension.
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.
validateBuildInput(BuildInput input) Future<ValidationErrors>
Reports errors from this extension on the BuildInput.
validateBuildOutput(BuildInput input, BuildOutput output) Future<ValidationErrors>
Reports errors from this extension on the LinkInput.
validateLinkInput(LinkInput input) Future<ValidationErrors>
Reports errors from this extension on the LinkInput.
validateLinkOutput(LinkInput input, LinkOutput output) Future<ValidationErrors>
Reports errors from this extension on the LinkOutput.

Operators

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