Paragraph class abstract

A paragraph in a Document. Is either a LineParagraph for rich text, or a ParagraphEmbed for other content.

Implementers
Annotations

Constructors

Paragraph()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

match<T>({required T line(LineParagraph), required T embed(ParagraphEmbed)}) → T
Execute line if this is a LineParagraph and embed if this is a ParagraphEmbed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited