BlockEmbed class

There are two built-in embed types supported by Quill documents, however the document model itself does not make any assumptions about the types of embedded objects and allows users to define their own types.

Inheritance
Implementers

Constructors

BlockEmbed(String type, String data)
const

Properties

data → dynamic
The data payload of this object.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
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 ==(Object other) bool
The equality operator.
inherited

Static Methods

custom(CustomBlockEmbed customBlock) BlockEmbed
formula(String formula) BlockEmbed
image(String imageUrl) BlockEmbed
video(String videoUrl) BlockEmbed

Constants

customType → const String
formulaType → const String
imageType → const String
videoType → const String