toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['name'] = this.name;
  data['dataElement'] = this.dataElement;
  data['value'] = this.value;
  data['created'] = this.created;
  data['lastUpdated'] = this.lastUpdated;
  data['event'] = this.event;
  data['dirty'] = this.dirty;
  return data;
}