toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
...super.toJson(),
'id': id,
'login': login,
if (email != null) 'email': email,
if (username != null) 'username': username,
if (avatar != null) 'avatar': avatar,
};