userId property

int get userId

Implementation

int get userId => _userId ?? 0;