normal_response3.dart 468 B

12345678910111213141516171819202122
  1. class NormalResponse3 {
  2. String? msg;
  3. int? code;
  4. String? data;
  5. NormalResponse3({this.msg, this.code, this.data});
  6. NormalResponse3.fromJson(Map<String, dynamic> json) {
  7. msg = json['msg'];
  8. code = json['code'];
  9. data = json['data'];
  10. }
  11. Map<String, dynamic> toJson() {
  12. final Map<String, dynamic> data = new Map<String, dynamic>();
  13. data['msg'] = this.msg;
  14. data['code'] = this.code;
  15. data['data'] = this.data;
  16. return data;
  17. }
  18. }