signUpWithEmailNPassword method
Implementation
@override
Future<Response<UserCredential>> signUpWithEmailNPassword({
required String email,
required String password,
}) {
try {
return repository
.signUpWithEmailNPassword(email: email, password: password)
.onError((_, __) => Response<UserCredential>(exception: "$_"));
} catch (_) {
return Future.value(Response<UserCredential>(exception: "$_"));
}
}