mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-06 15:21:21 +08:00
21 lines
395 B
Dart
21 lines
395 B
Dart
import 'note.dart';
|
|
import 'notes_folder.dart';
|
|
import 'notes_folder_notifier.dart';
|
|
|
|
class VirtualNotesFolder
|
|
with NotesFolderNotifier
|
|
implements NotesFolderReadOnly {
|
|
final List<Note> _notes;
|
|
|
|
VirtualNotesFolder(this._notes);
|
|
|
|
@override
|
|
List<Note> get notes => _notes;
|
|
|
|
@override
|
|
bool get isEmpty => _notes.isEmpty;
|
|
|
|
@override
|
|
bool get hasNotes => _notes.isNotEmpty;
|
|
}
|