invoke

operator fun invoke(email: String, password: String): Flow<Resource<Unit>>

Invokes the login use case with the provided email and password.

Return

A Flow emitting Resource representing the login operation result.

Parameters

email

The user's email address.

password

The user's password.