collectionWithInjectedBoth<T> function
Constructs an AtCollection<T> on the EventSource.both path with both source streams injected: tests drive each path independently and assert un-deduplicated dual emission.
Implementation
@visibleForTesting
AtCollection<T> collectionWithInjectedBoth<T>(
AtClient atClient,
String namespace,
Duration defaultExpiration, {
required Stream<AtNotification> notifications,
required Stream<DataEvent> dataEvents,
T Function(Map<String, dynamic>)? fromJson,
String? typeTag,
}) =>
AtCollection<T>._withInjectedBoth(
atClient,
namespace,
defaultExpiration,
notifications: notifications,
dataEvents: dataEvents,
fromJson: fromJson,
typeTag: typeTag,
);