mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +00:00
implement example
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user