userId property

String get userId

Implementation

String get userId {
  if (!isSignedIn) throw Exception('User signed out');
  return tokenProvider.userId!;
}