From 0046ca6782dd6f9da95b724ecfc4c499f8cad119 Mon Sep 17 00:00:00 2001 From: Htoo Pyae Linn <85918337+htoopyaelinn56@users.noreply.github.com> Date: Mon, 6 Feb 2023 19:48:56 +0630 Subject: [PATCH] Small doc change to avoid json parse error (#1086) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ec17c82..b31a8270 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ You can then write this to storage. To open a FlutterQuill editor with an existing JSON representation that you've previously stored, you can do something like this: ```dart -var myJSON = jsonDecode(incomingJSONText); +var myJSON = jsonDecode(r'{"insert":"hello\n"}'); _controller = QuillController( document: Document.fromJson(myJSON), selection: TextSelection.collapsed(offset: 0),