toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final recommendation = this.recommendation;
  return {
    if (recommendation != null) 'Recommendation': recommendation,
  };
}