From 228df0eba2e7bbbbaaf8bb4fcc8b379bf68a91eb Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 19 Feb 2021 14:06:45 +0530 Subject: [PATCH] example/README: Fix typo in comment The variable is named 'note' and not 'node'. Reflect same in the comment. Signed-off-by: Aayush Gupta --- objectbox/example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objectbox/example/README.md b/objectbox/example/README.md index 8b38a8264..1d244b3b7 100644 --- a/objectbox/example/README.md +++ b/objectbox/example/README.md @@ -118,7 +118,7 @@ import 'objectbox.g.dart'; final box = store.box(); -final note = Note(text: 'Hello'); // note: node.id is null +final note = Note(text: 'Hello'); // note: note.id is null final id = box.put(note); // note: sets note.id and also returns it print('new note got id=${id}, which is the same as note.id=${note.id}'); print('refetched note: ${box.get(id)}');