Change Password UI #2

This commit is contained in:
2025-09-08 18:12:57 +05:30
parent 465065db57
commit c729b775c9
3 changed files with 30 additions and 0 deletions

16
lib/data/models/otp.dart Normal file
View File

@@ -0,0 +1,16 @@
class Otp {
final String mobileNumber;
final String type;
Otp({
required this.mobileNumber,
required this.type,
});
Map<String, dynamic> toJson() {
return {
'mobileNumber': mobileNumber,
'type': type,
};
}
}

View File

@@ -0,0 +1,14 @@
class OtpVerify{
final String otp;
OtpVerify({
required this.otp,
}
);
Map<String, dynamic> toJson() {
return {
'otp': otp,
};
}
}