ZdsQuillDelta class

ZdsQuillDelta represents a wrapper around the Quill's Document to offer additional functionalities like conversion from and to HTML.

Constructors

ZdsQuillDelta({required Document document})
Constructs a ZdsQuillDelta instance with the given document.
ZdsQuillDelta.empty()
Creates an empty ZdsQuillDelta.
factory

Properties

document Document
The underlying Quill document.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Document? document}) ZdsQuillDelta
Creates a copy with provided document
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHtml() String
Converts the underlying Quill's Delta to an HTML string.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromHtml(String htmlString) Future<ZdsQuillDelta>
Creates a ZdsQuillDelta instance by converting the given htmlString to Quill's Delta.