Guest User

Untitled

a guest
Aug 25th, 2021
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.32 KB | None | 0 0
  1. part of models;
  2.  
  3. enum ThirdType {
  4.   enumA,
  5.   enumB,
  6.   enumC,
  7. }
  8.  
  9. @JsonSerializable(explicitToJson: true)
  10. class Third {
  11.   Map<ThirdType, bool> thirdModel = {};
  12.  
  13.   Third();
  14.  
  15.   factory Third.fromJson(Map<String, dynamic> json) => _$ThirdFromJson(json);
  16.  
  17.   Map<String, dynamic> toJson() => _$ThirdToJson(this);
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment