currentUserName function
Returns the display name of the current user. If the current user is null, returns "null".
Implementation
String currentUserName() =>
FirebaseAuth.instance.currentUser?.displayName ?? "null";
Returns the display name of the current user. If the current user is null, returns "null".
String currentUserName() =>
FirebaseAuth.instance.currentUser?.displayName ?? "null";