toJson method
Implementation
Map<String, dynamic> toJson() => {
"content": content,
"platform": platform,
"version": version,
if (name != null && name!.isNotEmpty) "name": name,
if (email != null && email!.isNotEmpty) "email": email,
"is_premium": isPremium ? 1 : 0,
};