orchestrator

Last updated:

0 purchases

orchestrator Image
orchestrator Images
Add to Cart

Description:

orchestrator

Easily define complex code structures in Dart using many out-of-the-box elements.
Usage #
Simple example of generating a class.
void main() {
final element = Method(
name: 'main',
body: const Static('print')
.invoke([Literal.of('Hello, World!')])
.statement,
);

const context = Context();
const emitter = ElementEmitter(context);

emitter.emit(element);
}
copied to clipboard
Results in:
void main() {
print('Hello, World!');
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.