orchestrator 0.7.0 orchestrator: ^0.7.0 copied to clipboard
A Dart package which can be used to programatically generate Dart code.
Easily define code structures in Dart using a Flutter widget like syntax.
Usage #
Simple example of generating a class.
void main() {
const element = Class(
name: 'Cat',
);
const context = Context();
const emitter = ClassEmitter(context);
emitter.emit(element);
}
Results in:
class Cat {}