toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['lastUpdated'] = this.lastUpdated;
  data['id'] = this.id;
  data['created'] = this.created;
  data['name'] = this.name;
  data['shortName'] = this.shortName;
  data['code'] = this.code;
  data['displayName'] = this.displayName;
  data['timelyDays'] = this.timelyDays;
  data['formType'] = this.formType;
  data['description'] = this.description;
  data['expiryDays'] = this.expiryDays;
  data['periodType'] = this.periodType;
  data['openFuturePeriods'] = this.openFuturePeriods;
  data['dataSetElements'] = this.dataSetElements;
  data['sections'] = this.sections;
  data['translations'] = this.translations;
  data['dirty'] = this.dirty;

  return data;
}