EventBus.customController constructor

EventBus.customController(
  1. StreamController _streamController
)

User customer stream controller in event bus.

Could be useful when using Event Bus with RxDart

import 'package:rxdart/rxdart.dart';

final eventBus = EventBus.customController(ReplaySubject());

Implementation

EventBus.customController(this._streamController);