userId property

String? get userId

The ID of the currently authenticated user.

Implementation

String? get userId => user?.uid;