userId property

String? userId

Implementation

String? get userId => hasProfile ? user!.id : null;