workouttest_app/lib/model/user.dart

16 lines
244 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,
};
}