httpTraces property
Mobile-only, filtered diagnostics; subscriptions opt in to tracing.
Implementation
@override
Stream<InappifyHttpTrace> get httpTraces =>
_httpTraces ??= httpEventChannel.receiveBroadcastStream().map((raw) {
final normalized = InappifyChannelCodec.normalize(raw);
if (normalized is! Map<String, Object?>) {
throw const FormatException('Invalid HTTP diagnostic.');
}
return InappifyHttpTrace.fromMap(normalized.cast<String, dynamic>());
});