currentUserEmail function

String currentUserEmail()

Returns the email of the current user. If the current user is null, returns "null".

Implementation

String currentUserEmail() => FirebaseAuth.instance.currentUser?.email ?? "null";