ModifiedBehaviorSubject<T> constructor
ModifiedBehaviorSubject<T> ({
- void onListen()?,
- void onCancel()?,
- 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));
}