throwOnNext method

void throwOnNext(
  1. Object error
)

Causes the next platform call to throw error.

Implementation

void throwOnNext(Object error) {
  _pendingError = error;
}