1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-02-16 21:52:38 +00:00
comunicmobile/lib/models/survey_choice.dart

20 lines
321 B
Dart
Raw Normal View History

2019-06-28 11:32:36 +02:00
/// Single survey choice
///
/// @author Pierre HUBERT
class SurveyChoice {
final int id;
final String name;
int responses;
SurveyChoice({
required this.id,
required this.name,
required this.responses,
2019-06-28 11:32:36 +02:00
}) : assert(id != null),
assert(name != null),
assert(responses != null);
}