feat: category

This commit is contained in:
efrilm
2025-08-17 12:50:10 +07:00
parent f84090c0e6
commit 4a4f6388d7
19 changed files with 2041 additions and 20 deletions
@@ -0,0 +1,10 @@
part of '../category.dart';
@freezed
sealed class CategoryFailure with _$CategoryFailure {
const factory CategoryFailure.serverError(ApiFailure failure) = _ServerError;
const factory CategoryFailure.unexpectedError() = _UnexpectedError;
const factory CategoryFailure.empty() = _Empty;
const factory CategoryFailure.dynamicErrorMessage(String erroMessage) =
_DynamicErrorMessage;
}