throwIfNotStarted method

void throwIfNotStarted()

Throws a StateError if the SDK has not been started.

Implementation

void throwIfNotStarted() {
  if (!isStarted) {
    throw StateError('Embrace SDK has not been started.');
  }
}