ClassifyDocumentResponse class

Constructors

ClassifyDocumentResponse({List<DocumentClass>? classes, List<DocumentLabel>? labels})
ClassifyDocumentResponse.fromJson(Map<String, dynamic> json)
factory

Properties

classes List<DocumentClass>?
The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time.
final
hashCode int
The hash code for this object.
no setterinherited
labels List<DocumentLabel>?
The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited