toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'email'] = email;
_json[r'username'] = username;
if (firstName != null) {
_json[r'first_name'] = firstName;
}
if (lastName != null) {
_json[r'last_name'] = lastName;
}
if (nickname != null) {
_json[r'nickname'] = nickname;
}
if (authData != null) {
_json[r'auth_data'] = authData;
}
if (authService != null) {
_json[r'auth_service'] = authService;
}
if (password != null) {
_json[r'password'] = password;
}
if (locale != null) {
_json[r'locale'] = locale;
}
if (props != null) {
_json[r'props'] = props;
}
if (notifyProps != null) {
_json[r'notify_props'] = notifyProps;
}
return _json;
}