toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bias = this.bias;
  final explainability = this.explainability;
  final modelDataQuality = this.modelDataQuality;
  final modelQuality = this.modelQuality;
  return {
    if (bias != null) 'Bias': bias,
    if (explainability != null) 'Explainability': explainability,
    if (modelDataQuality != null) 'ModelDataQuality': modelDataQuality,
    if (modelQuality != null) 'ModelQuality': modelQuality,
  };
}