Files
GitJournal/lib/core/notes_folder.dart
Vishesh Handa 816cb0c3ed Reduce code duplication
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00

23 lines
486 B
Dart

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;
set config(NotesFolderConfig config);
String pathSpec();
}