Entity constructor

Entity({
  1. List<Attribute>? attributes,
  2. int? beginOffset,
  3. EntityType? category,
  4. int? endOffset,
  5. int? id,
  6. double? score,
  7. String? text,
  8. List<Trait>? traits,
  9. EntitySubType? type,
})

Implementation

Entity({
  this.attributes,
  this.beginOffset,
  this.category,
  this.endOffset,
  this.id,
  this.score,
  this.text,
  this.traits,
  this.type,
});