setToken method Null safety
- String password
Saves the authentication access token in storage, given the password.
Implementation
Future<void> setToken(String password) async {
await _saveString(
_tokenKey,
base64Encode(utf8.encode('$code:$password')),
);
}