mirrored_repositories/flutter-valotod/lib/core
import 'package:dartz/dartz.dart';
import 'package:equatable/equatable.dart';

import 'package:valotod_app/core/shared/models/error/failures.dart';

abstract class UseCase<Type, Params> {
  Future<Either<Failure, Type>> call(Params params);
}

abstract class UseCaseWithId<Type, Id, Params> {
  Future<Either<Failure, Type>> call(Id id, Params params);
}

class NoParams extends Equatable {
  @override
  List<Object> get props => [];
}
