toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'id'] = id;
_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 (locale != null) {
_json[r'locale'] = locale;
}
if (position != null) {
_json[r'position'] = position;
}
if (timezone != null) {
_json[r'timezone'] = timezone;
}
if (props != null) {
_json[r'props'] = props;
}
if (notifyProps != null) {
_json[r'notify_props'] = notifyProps;
}
return _json;
}