class Password { String? key; String? currentPassword; String? newPassword; Password({this.key, this.currentPassword, this.newPassword}); Password.fromJson(Map json) { key = json['key']; currentPassword = json['currentPassword']; newPassword = json['newPassword']; } Map toJson() { final Map data = new Map(); data['key'] = this.key; data['currentPassword'] = this.currentPassword; data['newPassword'] = this.newPassword; return data; } }