SentimentAnalysisResult constructor

SentimentAnalysisResult({
  1. Sentiment? queryTextSentiment,
})

Implementation

factory SentimentAnalysisResult({
  Sentiment? queryTextSentiment,
}) {
  final _result = create();
  if (queryTextSentiment != null) {
    _result.queryTextSentiment = queryTextSentiment;
  }
  return _result;
}