Classification constructor

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

Implementation

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