login abstract method
Logs in the user (if successful) using email
& password
.
Returns the SessionStatusInfo
whether successful or not, wrapped within RequestResponse.
password
is optional.
Implementation
Future<RequestResponse<K>> login(String email, [String? password]);