token property Null safety
Returns the token saved in storage if found, otherwise returns an empty string.
Implementation
String get token => _prefs.getString(_tokenKey) ?? '';
Returns the token saved in storage if found, otherwise returns an empty string.
String get token => _prefs.getString(_tokenKey) ?? '';