DataValueSet constructor
DataValueSet({
- String? id,
- String? created,
- String? lastUpdated,
- String? name,
- required String period,
- required String orgUnit,
- required bool? synced,
- bool? syncFailed,
- DataValueSetImportSummary? lastSyncSummary,
- String? lastSyncDate,
- List<
DataValue> ? dataValues, - String? completeDate,
- required String dataSet,
- required dynamic dirty,
Implementation
DataValueSet(
{String? id,
String? created,
String? lastUpdated,
String? name,
required this.period,
required this.orgUnit,
required this.synced,
this.syncFailed,
this.lastSyncSummary,
this.lastSyncDate,
this.dataValues,
this.completeDate,
required this.dataSet,
required dirty})
: super(
id: id,
name: name,
created: created,
lastUpdated: lastUpdated,
dirty: dirty) {
this.id = '${this.dataSet}_${this.orgUnit}_${this.period}';
this.name = this.name ?? this.id;
}