enqueue method
Stores the event's serialized payload under its original ID. On native platforms, custom IDs must be single filename components.
Implementation
Future<void> enqueue(ReportEvent event) async {
final json = event.toJson();
await _mutations.run(() async {
final storage = await OutboxStorage.open();
await storage.write(event.id, json);
});
}