auth UI and Api

This commit is contained in:
mohammad
2024-07-30 16:36:12 +03:00
parent 3eb3ed10c9
commit 7e9b24a95b
34 changed files with 1773 additions and 510 deletions

View File

@ -1,29 +0,0 @@
class SignUpModel {
final String email;
final String password;
final String firstName;
final String lastName;
SignUpModel(
{required this.email,
required this.password,
required this.firstName,
required this.lastName});
factory SignUpModel.fromJson(Map<String, dynamic> json) {
return SignUpModel(
email: json['email'],
password: json['password'],
firstName: json['firstName'],
lastName: json['lastName']);
}
Map<String, dynamic> toJson() {
return {
'email': email,
'password': password,
'firstName': firstName,
'lastName': lastName,
};
}
}