setDelta method

Future setDelta(
  1. Map delta
)

setDelta method is used to set delta to the editor it will override the existing text in the editor with the new one

Implementation

Future setDelta(Map delta) async {
  return await _editorKey?.currentState?._setDeltaToEditor(deltaMap: delta);
}