1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00
comunicmobile/lib/models/survey_choice.dart

20 lines
321 B
Dart
Raw Normal View History

2019-06-28 09:32:36 +00: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 09:32:36 +00:00
}) : assert(id != null),
assert(name != null),
assert(responses != null);
}