TextEntity constructor

const TextEntity({
  1. required int offset,
  2. required int length,
  3. required TextEntityType type,
})

Represents a part of the text that needs to be formatted in some unusual way

Implementation

const TextEntity({
  required this.offset,
  required this.length,
  required this.type,
});