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