TF-1068 Implement make recent list for input of URL

This commit is contained in:
dab246
2022-10-21 12:10:00 +07:00
committed by Dat H. Pham
parent 87839351f2
commit 2a39904b35
14 changed files with 225 additions and 55 deletions
@@ -0,0 +1,22 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:tmail_ui_user/features/login/domain/model/recent_login_url.dart';
class GetAllRecentLoginUrlLatestSuccess extends UIState {
final List<RecentLoginUrl> listRecentLoginUrl;
GetAllRecentLoginUrlLatestSuccess(this.listRecentLoginUrl);
@override
List<Object> get props => [listRecentLoginUrl];
}
class GetAllRecentLoginUrlLatestFailure extends FeatureFailure {
final dynamic exception;
GetAllRecentLoginUrlLatestFailure(this.exception);
@override
List<Object> get props => [exception];
}