toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['when_to_use'] = this.whenToUse;
  data['how_it_helps'] = this.howItHelps;
  data['possible_triggers'] = this.possibleTriggers;
  return data;
}