Note: Rename 'createdAt' to 'created'

My notes already use the key 'created', and I don't want to have to
change that.
This commit is contained in:
Vishesh Handa
2018-06-01 18:59:06 +02:00
parent fdf8c06c24
commit eb2c9eb33f
5 changed files with 15 additions and 15 deletions

View File

@ -80,7 +80,7 @@ class NoteEditorState extends State<NoteEditor> {
onPressed: () {
var noteContent = noteTextKey.currentState.value;
var note = new Note(
createdAt: _createdAt,
created: _createdAt,
body: noteContent,
);
container.addNote(note);