EventChannelExtension extension

A custom EventChannel with default error handling logic.

on

Methods

receiveGuardedBroadcastStream({dynamic arguments, required dynamic onError(Object error, StackTrace stackTrace)}) Stream
Similar to receiveBroadcastStream, but with enforced error handling.