sendLink method
Sends a link to the email
.
Implementation
void sendLink(String email) {
authListener.onBeforeLinkSent(email);
final future = auth.sendSignInLinkToEmail(
email: email,
actionCodeSettings: actionCodeSettings,
);
future
.then((_) => authListener.onLinkSent(email))
.catchError(authListener.onError);
}