toJson method
Implementation
Map<String, dynamic> toJson() {
final m = <String, dynamic>{};
if (id != null) m['id'] = id;
if (email != null) m['email'] = email;
if (username != null) m['username'] = username;
if (avatar != null) m['avatar'] = avatar;
if (websiteUrl != null) m['websiteUrl'] = websiteUrl;
return m;
}