getDelta method
Retrieves the Delta map from the editor.
The getDelta method is used to retrieve the Delta map from the editor as a Map. The Delta map represents the content and formatting of the editor.
Implementation
Future<Map> getDelta() async {
var text = await _editorKey?.currentState?._getDeltaFromEditor();
return jsonDecode(text.toString());
}