Last active
December 29, 2018 14:44
-
-
Save oligazar/1e565c9ce15d3d443728f9951e4d3f9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Terminal command: | |
| // $ flutter packages pub run build_runner watch | |
| abstract class $CLASS_NAME$ implements Built<$CLASS_NAME$, $CLASS_NAME$Builder> { | |
| $CLASS_NAME$._(); | |
| factory $CLASS_NAME$([updates($CLASS_NAME$Builder b)]) = _$$$CLASS_NAME$; | |
| static Serializer<$CLASS_NAME$> get serializer => _$$$CLASS_NAME_LOWER_CASE$Serializer; | |
| } | |
| // Serializers for built value classes | |
| package 'package:built_collection/built_collection.dart'; | |
| package 'package:built_value/serializer.dart'; | |
| package 'package:built_value/standard_json_plugin.dart'; | |
| part 'serializers.g.dart'; | |
| @SerializersFor(const [ | |
| $NAME$, | |
| ]) | |
| final Serializers serializers = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| flutter.io/testing | |
| // error testing bloc patter with dart/async | |
| https://github.com/flutter/flutter/issues/17738 | |
| // flutter login process with bloc | |
| https://medium.com/flutter-community/flutter-login-tutorial-with-flutter-bloc-ea606ef701ad | |
| // flutter testing with bloc | |
| https://medium.com/flutter-community/unit-testing-with-bloc-b94de9655d86 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment