logActionStatusUpdate method
- CampaignAction action,
- String status
Implementation
Future logActionStatusUpdate(CampaignAction action, String status) async {
print("Logging action completed");
await _analytics
.logEvent(name: "action_$status", parameters: <String, dynamic>{
"id": action.id,
"title": action.title,
"type": action.type.toString(),
"super_type": action.superType.name,
"time": action.time,
});
}