Last active
June 28, 2021 14:34
-
-
Save iranjunior/74072ee9a797e474a5288f83c766603f to your computer and use it in GitHub Desktop.
Revisions
-
iranjunior revised this gist
Jun 28, 2021 . No changes.There are no files selected for viewing
-
iranjunior created this gist
Jun 28, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ class _MyHomePageState extends State<MyHomePage> { bool _isGuess = false; @override void initState() { super.initState(); // Seta se o usuário no momento já está logado FirebaseCrashlytics.instance.setCustomKey('guess', _isGuess); // Seta o id do usuário para melhoria na investigação FirebaseCrashlytics.instance.setUserIdentifier(widget.user['id']); }