TextNode constructor

TextNode({
  1. required Delta delta,
  2. Iterable<Node>? children,
  3. Attributes? attributes,
})

Implementation

TextNode({
  required Delta delta,
  Iterable<Node>? children,
  Attributes? attributes,
})  : _delta = delta,
      super(
        type: 'text',
        children: children?.toList() ?? [],
        attributes: attributes ?? {},
        id: '',
      );