toJson method
Converts this object to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'sticker': sticker.toJson(),
'star_count': starCount,
'total_count': totalCount,
'remaining_count': remainingCount,
};
}