toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (draft != null) 'draft': draft!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (published != null) 'published': published!,
  if (scoreMax != null) 'scoreMax': scoreMax!,
  if (scoreMin != null) 'scoreMin': scoreMin!,
  if (scoreOrder != null) 'scoreOrder': scoreOrder!,
  if (token != null) 'token': token!,
};