diff --git a/lib/trackierfluttersdk.dart b/lib/trackierfluttersdk.dart index 574f54c..256245b 100644 --- a/lib/trackierfluttersdk.dart +++ b/lib/trackierfluttersdk.dart @@ -46,7 +46,7 @@ class Trackierfluttersdk { } static void setGender(Gender gender) { - _channel.invokeMethod('setGender', gender); + _channel.invokeMethod('setGender', gender.toString()); } static void updatePostbackConversion(int conversion) {