ModifiedBehaviorSubject<T> constructor

ModifiedBehaviorSubject<T>({
  1. void onListen()?,
  2. void onCancel()?,
  3. bool sync = false,
})

Implementation

factory ModifiedBehaviorSubject({
  void Function()? onListen,
  void Function()? onCancel,
  bool sync = false,
}) {
  return ModifiedBehaviorSubject._(
      BehaviorSubject<T>(onListen: onListen, onCancel: onCancel, sync: sync));
}