Open
Description
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'
Metadata
Metadata
Assignees
Labels
No labels