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.
30 lines
728 B
30 lines
728 B
class ResetClass {
|
|
String password;
|
|
String resetGuid;
|
|
String resetcode;
|
|
|
|
ResetClass({
|
|
this.password,
|
|
this.resetGuid,
|
|
this.resetcode,
|
|
});
|
|
factory ResetClass.fromJSON(Map<String, dynamic> json) {
|
|
return ResetClass(
|
|
password: json["password"],
|
|
resetGuid: json["resetGuid"],
|
|
resetcode: json["resetcode"]);
|
|
}
|
|
|
|
Map<dynamic, dynamic> toJson() {
|
|
final Map<dynamic, dynamic> data = Map<dynamic, dynamic>();
|
|
data['password'] = this.password;
|
|
data['resetGuid'] = this.resetGuid;
|
|
data['resetcode'] = this.resetcode;
|
|
return data;
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return '{"password": "$password", "resetGuid": "$resetGuid","resetcode":$resetcode}';
|
|
}
|
|
}
|
|
|