toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (denseShapeTensorName != null)
    'denseShapeTensorName': denseShapeTensorName!,
  if (encodedBaselines != null) 'encodedBaselines': encodedBaselines!,
  if (encodedTensorName != null) 'encodedTensorName': encodedTensorName!,
  if (encoding != null) 'encoding': encoding!,
  if (featureValueDomain != null) 'featureValueDomain': featureValueDomain!,
  if (groupName != null) 'groupName': groupName!,
  if (indexFeatureMapping != null)
    'indexFeatureMapping': indexFeatureMapping!,
  if (indicesTensorName != null) 'indicesTensorName': indicesTensorName!,
  if (inputBaselines != null) 'inputBaselines': inputBaselines!,
  if (inputTensorName != null) 'inputTensorName': inputTensorName!,
  if (modality != null) 'modality': modality!,
  if (visualization != null) 'visualization': visualization!,
};