extensions library

Extensions

CheckDeltaData on Delta
CheckOperation on Operation
Extension that provides various utility methods for Operations, such as checking if an operation is a block-level insertion, a new line, or contains embedded data.
CheckQDeltaData on QueryDelta
DeltaDiff on Delta
Provides an extension on Delta to compare differences with another Delta.
DeltaToPlainText on Delta
Provides an extension on Delta to convert it to plain text.
DeltaToQuery on Delta
Provides an extension on Delta to convert it into a QueryDelta.
DiffDelta on QueryDelta
EasyDelta on Delta
Provides an extension on Delta for easy formatting, insertion, replacement, and deletion.
EssentialsQueryExt on QueryDelta
ListOperationLength on Iterable<Operation>
Extension that calculates the total effective length of a list of Operations. It accumulates the length of each operation in the list to return the total length.
MapToOperation on Map<String, dynamic>
Extension on Map that provides functionality to convert a map into an Operation for insertion.
ObjectToOperation on Object
Extension on Object that provides functionality to convert objects into Operation instances for insertion.
OffsetOperationLength on Operation
Extension that adds a getter to the Operation class to retrieve the effective length of the operation. The length is only valid for insert operations and throws an exception if the operation is a retain or delete.
OperationToPlain on Operation
Extension that converts an Operation to its plain text representation.

Typedefs

Attributes = Map<String, dynamic>