onReceived abstract method
Records an inbound frame. url and metrics are optional context.
messageId correlates this frame with the request it answers.
Implementation
void onReceived(
Object data, {
String? url,
Map<String, Object?>? metrics,
String? messageId,
});