Feature class
The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.
- Annotations
-
- @JsonSerializable()
Constructors
- Feature.new({int? maxResults, required AnnotationType type})
-
Feature.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxResults → int?
-
Maximum number of results of this type. Does not apply to TEXT_DETECTION,
DOCUMENT_TEXT_DETECTION, or CROP_HINTS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AnnotationType
-
The feature type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited