Classification constructor

Classification({
  1. String? label,
  2. double? confidence,
})

Implementation

factory Classification({
  $core.String? label,
  $core.double? confidence,
}) {
  final $result = create();
  if (label != null) {
    $result.label = label;
  }
  if (confidence != null) {
    $result.confidence = confidence;
  }
  return $result;
}