Files
GitJournal/lib/core/notes_folder.dart
2021-09-15 13:06:43 +02:00

28 lines
571 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();
}