normal_response2.dart 386 B

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