ParseTextEntities constructor

const ParseTextEntities({
  1. required String text,
  2. required TextParseMode parseMode,
})

Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously

Implementation

const ParseTextEntities({
  required this.text,
  required this.parseMode,
});