Files
GitJournal/lib/core/folder/notes_folder.dart
Vishesh Handa 6a915864f2 Move NotesFolder's code to their own folder
The 'core' folder is becoming way too huge.
2021-10-15 12:31:35 +02:00

28 lines
574 B
Dart

/*
* SPDX-FileCopyrightText: 2019-2021 Vishesh Handa <me@vhanda.in>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import '../note.dart';
import 'notes_folder_config.dart';
import 'notes_folder_notifier.dart';
export 'notes_folder_config.dart';
abstract class NotesFolder implements NotesFolderNotifier {
bool get isEmpty;
bool get hasNotes;
String get name;
String get publicName;
List<Note> get notes;
List<NotesFolder> get subFolders;
NotesFolder? get parent;
NotesFolder? get fsFolder;
NotesFolderConfig get config;
String pathSpec();
}