getAttributionParamsWithCallback method
Get attribution parameters via a background-native stream
Spawns a native background thread and emits a single result when ready, then closes. Use this when attribution retrieval time may vary.
Implementation
@override
Stream<Map<String, dynamic>?> getAttributionParamsWithCallback() {
return _attributionParamsEventChannel
.receiveBroadcastStream()
.map((event) => event != null ? Map<String, dynamic>.from(event as Map) : null);
}