ModifiedBehaviorSubject<T>.seeded constructor

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

Implementation

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