From 44eba7f8d8f578f24e7a4a3773e225d61957cf34 Mon Sep 17 00:00:00 2001 From: htoopyaelinn56 Date: Mon, 6 Feb 2023 19:03:44 +0630 Subject: [PATCH] doc improve --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c13ecf0..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(r'$incomingJSONText'); +var myJSON = jsonDecode(r'{"insert":"hello\n"}'); _controller = QuillController( document: Document.fromJson(myJSON), selection: TextSelection.collapsed(offset: 0),