mixpanel-flutter
mixpanel-flutter copied to clipboard
Error on call .track() Invalid argument: Instance of 'Object'
Hi,
When i call:
await _mixpanel.track(
name,
properties: {'relationship': Relationship.mother},
);
I got error: Invalid argument: Instance of 'Relationship'
Relationship is an enum, ex:
enum Relationship {
mother,
father;
}
i see that properties accept Map<String, dynamic>? but I'm not sure why its returning Invalid-argument
Is .track() properties doesn't support custom object?