getCurrentUser static method

Future<User?> getCurrentUser()

Implementation

static Future<User?> getCurrentUser() async {
  return FirebaseAuth.instance.currentUser;
}