DcbPlatformConfig class sealed
Platform-specific configuration for DcbCMakeBuilder.
A downstream hook/build.dart selects the appropriate subclass from
input.config.code.targetOS and passes it to DcbCMakeBuilder:
final config = switch (input.config.code.targetOS) {
OS.windows => const WindowsConfig(),
final os => throw UnsupportedError('unsupported target OS: $os'),
};
await DcbCMakeBuilder(config: config, assetName: 'my_package.dart')
.run(input: input, output: output);
- Implementers
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited