mirrored_repositories/connect-pets/lib/app/features/login/domain
import 'package:connect_pets/app/common/error/failure.dart';
import 'package:connect_pets/app/features/login/domain/repository/ilogin_repository.dart';
import 'package:dartz/dartz.dart';
import 'package:firebase_auth/firebase_auth.dart';

class LoginGoogleUseCase {
  final LoginRepositoryImpl repositoryImpl;

  LoginGoogleUseCase({required this.repositoryImpl});

  Future<Either<Failure, UserCredential>> call() async {
    return await repositoryImpl.signInWithGoogle();
  }
}
