MockObservable<T> class

Inheritance
Available extensions

Constructors

MockObservable.new(T initial)

Properties

hashCode int
The hash code for this object.
no setterinherited
history List<T>
no setter
isDisposed bool
Whether this object has been disposed.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
value method.
getter/setter pairinherited-getteroverride-setter

Methods

addDisposeCallback(VoidCallback callback) → void
Add a callback to be executed during disposal.
inherited
addListener(VoidCallback listener) → void
addListener method.
inherited
addSubscription(StreamSubscription subscription) → void
Add a stream subscription to be cancelled during disposal.
inherited
clearHistory() → void
combineWith<U, R>(Observable<U> other, R combiner(T, U)) Observable<R>

Available on Observable<T>, provided by the ObservableSelector extension

dispose() → void
dispose method.
inherited
emit(T value) → void
emitSequence(List<T> values) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → T
read method.
inherited
removeListener(VoidCallback listener) → void
removeListener method.
inherited
select<R>(R selector(T)) Observable<R>

Available on Observable<T>, provided by the ObservableSelector extension

selectR> method.
setDebounceTimer(Timer timer) → void
Set or update the debounce timer.
inherited
setValueDebounced(T newValue, Duration delay) → void
setValueDebounced method.
inherited
throwIfDisposed([String? operation]) → void
Throw if this object has been disposed.
inherited
toString() String
A string representation of this object.
inherited
validateEmail() Observable<String?>

Available on Observable<String>, provided by the StringValidation extension

validateEmail method.
validateLength({int? min, int? max}) Observable<String?>

Available on Observable<String>, provided by the StringValidation extension

validateLength method.
watch() → T
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited