asBroadcastStream method
Stream<DictionaryEntry<V> >
asBroadcastStream({
- void onListen(
- StreamSubscription<
DictionaryEntry< subscriptionV> >
- StreamSubscription<
- void onCancel(
- StreamSubscription<
DictionaryEntry< subscriptionV> >
- StreamSubscription<
override
Converting VendorDictionaryEntriesStream to broadcast Stream is forbidden. It throws UnsupportedError once it called.
Implementation
@nonVirtual
@override
Stream<DictionaryEntry<V>> asBroadcastStream(
{void Function(StreamSubscription<DictionaryEntry<V>> subscription)?
onListen,
void Function(StreamSubscription<DictionaryEntry<V>> subscription)?
onCancel}) {
throw UnsupportedError("Convert to broadcast stream is not allowed.");
}