getDelta method

Future<Map> getDelta()

getDelta method is used to get the delta map from editor

Implementation

Future<Map> getDelta() async {
  var text = await _editorKey?.currentState?._getDeltaFromEditor();
  return jsonDecode(text.toString());
}