toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (recommendations != null) 'recommendations': recommendations!,
      if (scoreImpact != null) 'scoreImpact': scoreImpact!,
      if (verdict != null) 'verdict': verdict!,
      if (weight != null) 'weight': weight!,
    };