David Morgan ☯
2015-10-11 00:00:23 UTC
Hi Dartisans,
It's finally here: a lightweight code generation tool for immutable, easy
to work with value types
No more hand-coding hashCode, operator== or toString!
The example value type looks like too little code to do anything useful,
but as the test shows, the generated code turns it into a fully functional
class:
https://github.com/google/built_value.dart/blob/master/example/lib/value.dart
https://github.com/google/built_value.dart/blob/master/example/test/value_test.dart
Coming next: JSON serialization support. And then you can really make
something nice with this :)
Cheers
Morgan
It's finally here: a lightweight code generation tool for immutable, easy
to work with value types
No more hand-coding hashCode, operator== or toString!
The example value type looks like too little code to do anything useful,
but as the test shows, the generated code turns it into a fully functional
class:
https://github.com/google/built_value.dart/blob/master/example/lib/value.dart
https://github.com/google/built_value.dart/blob/master/example/test/value_test.dart
Coming next: JSON serialization support. And then you can really make
something nice with this :)
Cheers
Morgan
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.