type_resolver 0.2.0+2 copy "type_resolver: ^0.2.0+2" to clipboard
type_resolver: ^0.2.0+2 copied to clipboard

TypeResolver provides Type and String with the ability to ultimately resolve to an instance or Type.version: 1.0.0

example/type_resolver_example.dart

//import 'package:type_resolver/type_resolver.dart';
//
//// GOOD
//@TypeResolvable()
//class Example {}
//
//// GOOD
//@TypeResolvable()
//class Example2 {
//  Example2([int a]);
//}
//
//// BAD: should provide a no-arg constructor
//@TypeResolvable()
//class Example3 {
//  Example3(int a);
//}
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

TypeResolver provides Type and String with the ability to ultimately resolve to an instance or Type.version: 1.0.0

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

analyzer, build, exporter, glob, source_gen

More

Packages that depend on type_resolver