initial commit (migrated)

This commit is contained in:
fiatcode 2025-10-20 16:43:59 +07:00
commit b594facb51
143 changed files with 11057 additions and 0 deletions

View file

@ -0,0 +1,8 @@
import 'package:equatable/equatable.dart';
class NoParams extends Equatable {
const NoParams();
@override
List<Object> get props => [];
}

View file

@ -0,0 +1,9 @@
import 'package:fpdart/fpdart.dart';
import 'package:kuwot/core/error/failure.dart';
/// [TReturnType] is the return type of a successful use case call.
/// [TParams] are the parameters that are required to call the use case.
abstract class UseCase<TReturnType, TParams> {
/// Execute the use case
Future<Either<Failure, TReturnType>> call(TParams params);
}