Feature class Null safety

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

Constructors

Feature({int? maxResults, required String type})
Feature.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited
type String
The feature type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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