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['created'] = this.created;
  data['lastUpdated'] = this.lastUpdated;
  data['name'] = this.name;
  data['displayName'] = this.displayName;
  data['displayFormName'] = this.displayFormName;
  data['description'] = this.description;
  data['instruction'] = this.instruction;
  data['displayInstruction'] = this.displayInstruction;
  data['operator'] = this.operator;
  data['periodType'] = this.periodType;
  data['leftSide'] = this.leftSide;
  data['rightSide'] = this.rightSide;
  data['dataSet'] = this.dataSet;
  data['dirty'] = this.dirty;

  return data;
}