mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +00:00
20 lines
356 B
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);
|
|
}
|