toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (labels != null) 'labels': labels!,
      if (lossType != null) 'lossType': lossType!,
      if (modelType != null) 'modelType': modelType!,
    };