Remove invalid assert

Not sure why I put this assert, it doesn't seem to make sense.
This commit is contained in:
Vishesh Handa
2020-07-27 10:03:25 +02:00
parent 04bd9e053e
commit 9ca19077e7

View File

@ -291,7 +291,6 @@ class Note with NotesNotifier {
// FIXME: What about error handling? // FIXME: What about error handling?
Future<void> save() async { Future<void> save() async {
assert(_filePath != null);
assert(_data != null); assert(_data != null);
assert(_data.body != null); assert(_data.body != null);
assert(_data.props != null); assert(_data.props != null);