subscribeConferenceEvent method
Future<StreamSubscription>
subscribeConferenceEvent(
- String eventName,
- dynamic eventMethod, {
- dynamic onErrorMethod,
Implementation
Future<StreamSubscription<dynamic>> subscribeConferenceEvent(
String eventName, eventMethod,
{onErrorMethod}) async {
return EventChannel(eventName)
.receiveBroadcastStream(eventName)
.listen(eventMethod, onError: onErrorMethod);
}