toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (examples != null) 'examples': examples!,
      if (integratedGradientsAttribution != null)
        'integratedGradientsAttribution': integratedGradientsAttribution!,
      if (outputIndices != null) 'outputIndices': outputIndices!,
      if (sampledShapleyAttribution != null)
        'sampledShapleyAttribution': sampledShapleyAttribution!,
      if (topK != null) 'topK': topK!,
      if (xraiAttribution != null) 'xraiAttribution': xraiAttribution!,
    };