Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- part of models;
- @JsonSerializable(explicitToJson: true)
- class Second {
- Third thirdModel = Third();
- Second({required thirdModel});
- factory Second.fromJson(Map<String, dynamic> json) => _$SecondFromJson(json);
- Map<String, dynamic> toJson() => _$SecondToJson(this);
- }
Advertisement
Add Comment
Please, Sign In to add comment