append<T> method

T append<T>(
  1. NotifyData data,
  2. T builder()
)

Implementation

T append<T>(NotifyData data, T Function() builder) {
  _notifyData = data;
  final result = builder();
  if (data.disposers.isEmpty && data.throwException) {
    throw const ObxError();
  }
  _notifyData = null;
  return result;
}