1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-10-23 15:03:22 +00:00
comunicmobile/lib/models/survey_choice.dart

20 lines
356 B
Dart
Raw Normal View History

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