TPStreamsPlayerController constructor

TPStreamsPlayerController(
  1. MethodChannel? _channel,
  2. EventChannel _eventChannel
)

Implementation

TPStreamsPlayerController(this._channel, this._eventChannel)
    : super(TPStreamsPlayerValue()) {
  _eventChannel.receiveBroadcastStream().listen(_onNativeEvent);
}