SpanEmbed class

An object which can be embedded on the same line (inline) with regular text.

Span embeds are not currently supported by Notus document model and this class exists to establish the contract for future work.

Inheritance

Constructors

SpanEmbed(String type, {Map<String, dynamic> data = const {}})

Properties

data Map<String, dynamic>
The data payload of this object.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inline bool
If set to true then this object can be embedded inline with regular text, otherwise it occupies an entire line.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of this object.
finalinherited

Methods

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

Operators

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