track method
Implementation
Future<bool> track(
String event, {
Map<String, dynamic>? properties,
}) async {
return await _makeHttpCall(endpoint: "track", body: {
"event": event,
if (properties != null) "properties": properties,
if (_userId != null) "userId": _userId,
if (_groupId != null) "context": {"groupId": _groupId},
});
}