Classification constructor

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

Implementation

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