diff --git a/lib/src/user_attributes.dart b/lib/src/user_attributes.dart index 5972ad5..c67a91b 100644 --- a/lib/src/user_attributes.dart +++ b/lib/src/user_attributes.dart @@ -1,14 +1,22 @@ class UserAttributes { String? email; + String? phone; String? password; String? emailChangeToken; dynamic data; - UserAttributes({this.email, this.password, this.emailChangeToken, this.data}); + UserAttributes({ + this.email, + this.phone, + this.password, + this.emailChangeToken, + this.data, + }); Map toJson() { final Map values = {}; if (email != null) values['email'] = email; + if (phone != null) values['phone'] = phone; if (password != null) values['password'] = password; if (emailChangeToken != null) { values['email_change_token'] = emailChangeToken;