15 lines
242 B
Dart
15 lines
242 B
Dart
class User {
|
|
String email;
|
|
String password;
|
|
int customerId;
|
|
|
|
|
|
User({this.customerId, this.email, this.password});
|
|
|
|
|
|
Map<String, dynamic> toJson() =>
|
|
{
|
|
"username": email,
|
|
"password": password,
|
|
};
|
|
} |