implement example

This commit is contained in:
Sergey Penkovsky
2025-05-16 17:56:57 +03:00
parent a7dc2e0f27
commit 7740717fce
25 changed files with 1234 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import 'package:dartz/dartz.dart';
import '../entity/post.dart';
abstract class PostRepository {
Future<Either<Exception, List<Post>>> getPosts();
Future<Either<Exception, Post>> getPost(int id);
}