Entity constructor

Entity({
  1. String name = '',
  2. Entity_Type type = Entity_Type.$default,
  3. Map<String, String> metadata = const {},
  4. List<EntityMention> mentions = const [],
  5. Sentiment? sentiment,
})

Implementation

Entity({
  this.name = '',
  this.type = Entity_Type.$default,
  this.metadata = const {},
  this.mentions = const [],
  this.sentiment,
}) : super(fullyQualifiedName);