toMap method
Encodes TournamentControversial object to json map
Implementation
Map<String, dynamic> toMap() => {
'question_number': questionNumber == null ? null : questionNumber,
'answer': answer == null ? null : answer,
'issued_at': issuedAt == null ? null : issuedAt?.toIso8601String(),
'status': status == null ? null : statusValues.reverse[status],
'comment': comment == null ? null : comment,
'resolved_at':
resolvedAt == null ? null : resolvedAt?.toIso8601String(),
'appeal_jury_comment':
appealJuryComment == null ? null : appealJuryComment,
};