userId property

String? get userId

Implementation

String? get userId => _prefs.getString(_USERID);
set userId (dynamic value)

Implementation

set userId(value) {
  if (value == null) {
    _prefs.remove(_USERID);
  } else {
    _prefs.setString(_USERID, value);
  }
}