clearDevToken method
Clear the dev token.
Use this if the user logged out, or authentication fails.
Implementation
Future<void> clearDevToken() async {
var existing = await loadDevCredentials();
if (existing != null) {
existing.token = null;
storeDevCredentials(existing);
}
}