File tree 1 file changed +3
-10
lines changed
pkgs/native_assets_cli/lib/src 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -621,16 +621,9 @@ final class HookConfig {
621
621
/// separately for different asset types.
622
622
///
623
623
/// This means that hooks should be written in a way that they are a no-op if
624
- /// they are invoked for an asset type that is not emitted by the hook:
625
- ///
626
- /// ```dart
627
- /// if (input.config.buildAsstTypes.contains('some_asset_type')) {
628
- /// // Emit some asset.
629
- /// }
630
- /// ```
631
- ///
632
- /// Most asset extensions provide a shorthand. For example, `CodeAsset` s can
633
- /// be used as follows:
624
+ /// they are invoked for an asset type that is not emitted by the hook. Most
625
+ /// asset extensions provide a to check [buildAssetTypes] for their own asset
626
+ /// type. For example, `CodeAsset` s can be used as follows:
634
627
///
635
628
/// ```dart
636
629
/// if (input.config.buildCodeAssets) {
You can’t perform that action at this time.
0 commit comments