Created
December 16, 2019 06:57
-
-
Save Zfinix/bd903a0b3034f579aa3bdd2d5e187654 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
| library serializers; | |
| import 'package:built_collection/built_collection.dart'; | |
| import 'package:built_value/serializer.dart'; | |
| import 'package:built_value/standard_json_plugin.dart'; | |
| import 'user_profile.dart'; | |
| part 'serializers.g.dart'; | |
| @SerializersFor(const [ | |
| UserModel, | |
| Career, | |
| ]) | |
| final Serializers serializers = | |
| (_$serializers.toBuilder()..addPlugin(StandardJsonPlugin())).build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment