TF-524 Store recent search in hive database.

This commit is contained in:
dab246
2022-05-23 19:25:38 +07:00
committed by Dat H. Pham
parent 3513c363ff
commit 51cc3bd979
12 changed files with 147 additions and 3 deletions
@@ -0,0 +1,18 @@
import 'package:core/core.dart';
class SaveRecentSearchSuccess extends UIState {
SaveRecentSearchSuccess();
@override
List<Object> get props => [];
}
class SaveRecentSearchFailure extends FeatureFailure {
final dynamic exception;
SaveRecentSearchFailure(this.exception);
@override
List<Object> get props => [exception];
}