Entity constructor

Entity({
  1. List<EntityMention>? mentions,
  2. Map<String, String>? metadata,
  3. String? name,
  4. Sentiment? sentiment,
  5. String? type,
})

Implementation

Entity({
  this.mentions,
  this.metadata,
  this.name,
  this.sentiment,
  this.type,
});