assetPackage property

String? assetPackage
final

The package namespace for the emitted code asset.

Defaults to the building package's own name. Set this to 'dart_cpp_bridge' when your downstream library embeds the runtime (via WHOLE_ARCHIVE) and wants @Native(assetId: 'package:dart_cpp_bridge/...') annotations to resolve to your combined library.

Implementation

final String? assetPackage;