polymorphic 1.0.0
polymorphic: ^1.0.0 copied to clipboard
Generator for library code which utilizes pseudopolymorphism on the amount of type parameters
example/polymorphic_example.dart
import 'package:polymorphic/polymorphic.dart';
final Extension$ example = (
name: 'Example',
updates: (ctx) {
return (
on: ctx.letterReferences,
methods: [],
);
}
);
Future<void> main() => generate('example', [example.build]);