append<T> method
Appends data to the provided data
and executes the builder
function.
Implementation
T append<T>(NotifyData data, T Function() builder) {
_notifyData = data;
final T result = builder();
if (data.disposers.isEmpty && data.throwException) {
throw ObxError();
}
_notifyData = null;
return result;
}