AnnotateTextResponse constructor

AnnotateTextResponse({
  1. List<Sentence> sentences = const [],
  2. List<Entity> entities = const [],
  3. Sentiment? documentSentiment,
  4. String languageCode = '',
  5. List<ClassificationCategory> categories = const [],
  6. List<ClassificationCategory> moderationCategories = const [],
  7. bool languageSupported = false,
})

Implementation

AnnotateTextResponse({
  this.sentences = const [],
  this.entities = const [],
  this.documentSentiment,
  this.languageCode = '',
  this.categories = const [],
  this.moderationCategories = const [],
  this.languageSupported = false,
}) : super(fullyQualifiedName);