class User { String email; String password; int customerId; User({this.customerId, this.email, this.password}); Map toJson() => { "username": email, "password": password, }; }