Paragraph class

A StructuralElement representing a paragraph.

A paragraph is a range of content that's terminated with a newline character.

Constructors

Paragraph({Bullet? bullet, List<ParagraphElement>? elements, ParagraphStyle? paragraphStyle, List<String>? positionedObjectIds, Map<String, SuggestedBullet>? suggestedBulletChanges, Map<String, SuggestedParagraphStyle>? suggestedParagraphStyleChanges, Map<String, ObjectReferences>? suggestedPositionedObjectIds})
Paragraph.fromJson(Map json_)

Properties

bullet Bullet?
The bullet for this paragraph.
getter/setter pair
elements List<ParagraphElement>?
The content of the paragraph, broken down into its component parts.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
paragraphStyle ParagraphStyle?
The style of this paragraph.
getter/setter pair
positionedObjectIds List<String>?
The IDs of the positioned objects tethered to this paragraph.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestedBulletChanges Map<String, SuggestedBullet>?
The suggested changes to this paragraph's bullet.
getter/setter pair
suggestedParagraphStyleChanges Map<String, SuggestedParagraphStyle>?
The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
getter/setter pair
suggestedPositionedObjectIds Map<String, ObjectReferences>?
The IDs of the positioned objects suggested to be attached to this paragraph, keyed by suggestion ID.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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