TF-4233 Implement edit label action

This commit is contained in:
dab246
2026-01-05 16:36:06 +07:00
committed by Dat H. Pham
parent 0302e09981
commit bac101021e
17 changed files with 376 additions and 66 deletions
@@ -0,0 +1,18 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:labels/model/label.dart';
class EditingLabel extends LoadingState {}
class EditLabelSuccess extends UIState {
final Label newLabel;
EditLabelSuccess(this.newLabel);
@override
List<Object> get props => [newLabel];
}
class EditLabelFailure extends FeatureFailure {
EditLabelFailure(dynamic exception) : super(exception: exception);
}