TF-34 Add domain layer MailboxDashBoard for fix bug mock data user
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:model/model.dart';
|
||||
|
||||
class GetUserProfileSuccess extends UIState {
|
||||
final UserProfile userProfile;
|
||||
|
||||
GetUserProfileSuccess(this.userProfile);
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class GetUserProfileFailure extends FeatureFailure {
|
||||
final exception;
|
||||
|
||||
GetUserProfileFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user