TF-4243 Add datasource/repository/interactor for delete a label feature

This commit is contained in:
dab246
2026-01-12 15:22:54 +07:00
committed by Dat H. Pham
parent 5914877b1b
commit 327d05d20b
7 changed files with 86 additions and 0 deletions
@@ -0,0 +1,17 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class DeletingALabel extends LoadingState {}
class DeleteALabelSuccess extends UIState {
final String labelDisplayName;
DeleteALabelSuccess(this.labelDisplayName);
@override
List<Object> get props => [labelDisplayName];
}
class DeleteALabelFailure extends FeatureFailure {
DeleteALabelFailure(dynamic exception) : super(exception: exception);
}