You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
558B

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