live WEB search
This commit is contained in:
parent
47945dbec7
commit
4ade7f1682
19 changed files with 503 additions and 59 deletions
|
@ -8,4 +8,9 @@ import '../data/models/image_model.dart';
|
|||
/// and convoluting) interface is for adding a bit of flexibility to change strategy to some other site.
|
||||
abstract class ImagesApi {
|
||||
FutureOr<Iterable<ImageModel>> fetchImageUri({required String token});
|
||||
|
||||
FutureOr<List<ImageModel>> searchImages({
|
||||
required String searchStr,
|
||||
required String token,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue