Created
April 9, 2020 19:49
-
-
Save parzibyte/17403d1fc76ba23325ef0fcf4f21f529 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future _guardarToken(String token) async { | |
log("Estoy guardando el token..."); | |
final prefs = await SharedPreferences.getInstance(); | |
prefs.setString("token_api", token); | |
log("Terminado de guardar token"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment