toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (approximationError != null)
        'approximationError': approximationError!,
      if (baselineOutputValue != null)
        'baselineOutputValue': baselineOutputValue!,
      if (featureAttributions != null)
        'featureAttributions': featureAttributions!,
      if (instanceOutputValue != null)
        'instanceOutputValue': instanceOutputValue!,
      if (outputDisplayName != null) 'outputDisplayName': outputDisplayName!,
      if (outputIndex != null) 'outputIndex': outputIndex!,
      if (outputName != null) 'outputName': outputName!,
    };