onReceived method
Records an inbound frame. url and metrics are optional context.
Implementation
@override
void onReceived(Object data, {String? url, Map<String, Object?>? metrics}) =>
_emitFrame(data: data, isSend: false, rawUrl: url, metrics: metrics);