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