toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deployedModelId != null) 'deployedModelId': deployedModelId!,
      if (explanationSpecOverride != null)
        'explanationSpecOverride': explanationSpecOverride!,
      if (instances != null) 'instances': instances!,
      if (parameters != null) 'parameters': parameters!,
    };