trackCommandUsage method
Track command usage with geolocation
Implementation
Future<void> trackCommandUsage(
String commandName, {
Map<String, dynamic>? additionalProperties,
}) async {
await trackEvent(
'command_executed',
properties: {
'command_name': commandName,
'timestamp': DateTime.now().toIso8601String(),
if (additionalProperties != null) ...additionalProperties,
},
);
}