Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixpanelSDK.getPeople().set(String prop, dynamic to) - Unhandled Exception: Invalid argument: Instance of 'DateTime' #132

Open
MortadhaFadhlaoui opened this issue Feb 6, 2024 · 0 comments

Comments

@MortadhaFadhlaoui
Copy link

Basically, this function accepts dynamic but it checks afterward if the passed props is a valid string _MixpanelHelper.isValidString(prop)

class _MixpanelHelper {
static isValidString(String input) {
// ignore: unnecessary_null_comparison
return input != null && input.isNotEmpty;
}
}

What results the error
Unhandled Exception: Invalid argument: Instance of 'DateTime'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant