1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-23 05:19:22 +00:00
comunicmobile/lib/models/survey_choice.dart

20 lines
356 B
Dart

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);
}