currentUser method

Future<User?> currentUser()

The current user. No longer async operation but we'll keep it backward-compatible.

Implementation

Future<User?> currentUser() async => _user ??= _auth.currentUser;