toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'usernames',
if (extra != null) '@extra': extra,
'active_usernames': active_usernames,
'disabled_usernames': disabled_usernames,
'editable_username': editable_username
};
}