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['useCodeForOptionSet'] = this.useCodeForOptionSet;
  data['dataElement'] = this.dataElement;
  data['trackedEntityAttribute'] = this.trackedEntityAttribute;
  data['programRuleVariableSourceType'] = this.programRuleVariableSourceType;
  data['program'] = this.program;
  data['option'] = this.option;
  data['section'] = this.section;
  data['dirty'] = this.dirty;
  return data;
}