RegisterUseCase

class RegisterUseCase @Inject constructor(repo: StudyPlanetRepository)

Use case for handling user registration.

Parameters

repo

The repository providing access to the study planet data.

Constructors

Link copied to clipboard
@Inject
constructor(repo: StudyPlanetRepository)

Functions

Link copied to clipboard
operator fun invoke(name: String, email: String, password: String): Flow<Resource<Unit>>

Invokes the registration use case with the provided user details.