From 87e3310373f33ca033524cb12b1c6bc0ec2e9bc0 Mon Sep 17 00:00:00 2001 From: htoopyaelinn56 Date: Mon, 6 Feb 2023 18:59:40 +0630 Subject: [PATCH] small doc change to avoid json parse error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ec17c82..9c13ecf0 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'$incomingJSONText'); _controller = QuillController( document: Document.fromJson(myJSON), selection: TextSelection.collapsed(offset: 0),