allowedOutputs property Null safety

Iterable<AssetId> allowedOutputs

Returns assets that may be written in this build step.

Allowed outputs are formed by matching the inputId against the builder's buildExtensions, which declares a list of output extensions for this input.

The writing methods writeAsBytes and writeAsString will throw an InvalidOutputException when attempting to write an asset not part of the allowedOutputs.

Implementation

Iterable<AssetId> get allowedOutputs;