Created
September 23, 2023 08:20
-
-
Save nkenna/366d2a464cf98ddb3dabfaf5f7c5aa91 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
void logDeletedAccountEvent(String userId) { | |
if(kDebugMode) return; | |
print('inside deleted account event analytics'); | |
analytics!.logEvent( | |
name: 'deleted_account', | |
parameters: { | |
'user_id': userId, | |
'deviceOS': Platform.isAndroid ? 'android' : 'ios', | |
}, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment