Guest User

second

a guest
Aug 25th, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.28 KB | None | 0 0
  1. part of models;
  2.  
  3. @JsonSerializable(explicitToJson: true)
  4. class Second {
  5.   Third thirdModel = Third();
  6.  
  7.   Second({required thirdModel});
  8.  
  9.   factory Second.fromJson(Map<String, dynamic> json) => _$SecondFromJson(json);
  10.  
  11.   Map<String, dynamic> toJson() => _$SecondToJson(this);
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment