Last updated:
0 purchases
lukas generator
Lukas Generator Package help you to generate objects based on a template and custom params.
Usage #
A simple usage example:
import 'package:lukas_generator/lukas_generator.dart';
main() {
final template = StringBuffer();
template.write('example template \n var varName = \$varName\$; \$foo\$');
final generatedUnit = LukasGeneratorUnit(
template: template,
metadata: {'varName': 'custom string value', 'foo': 'bar'},
);
final parsed = generatedUnit.tryParse()?.toString() ?? '';
print(parsed);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.