Last active
September 30, 2019 14:47
-
-
Save viveky259259/37aa58c38c92b8fde7cf28db490dd9fa to your computer and use it in GitHub Desktop.
NoteStorage class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_for_people/bloc/notes/note.model.dart'; | |
class NoteStorage { | |
List<NoteModel> _noteModels = [ | |
NoteModel("Chemistry", "Get book from general store"), | |
NoteModel("Physics", "Read reference book"), | |
NoteModel("Maths", "It's really hard bro, if you don't study"), | |
NoteModel("Football", "Match at 8'o' clock"), | |
]; | |
List<NoteModel> get notes => _noteModels; | |
} | |
NoteStorage noteStorage = NoteStorage(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment