BeforeSendTransactionCallback typedef
Receives the transaction payload (monitoring-v1 ยง8) and returns it, possibly modified, or null to drop it.
Implementation
typedef BeforeSendTransactionCallback =
Map<String, Object?>? Function(Map<String, Object?> transaction);