mirror of
https://github.com/cyberbread-ru/notepad.git
synced 2026-07-14 12:51:01 +03:00
9 lines
198 B
Dart
9 lines
198 B
Dart
import '../models/note.dart';
|
|
|
|
abstract class NoteRepository {
|
|
Future<List<Note>> getAll();
|
|
Future<Note?> getById(String id);
|
|
Future<Note> save(Note note);
|
|
Future<void> delete(String id);
|
|
}
|