throwIfStarted method

void throwIfStarted()

Throws a StateError if the SDK has already been started.

Implementation

void throwIfStarted() {
  if (isStarted) {
    throw StateError('Embrace SDK has already been started.');
  }
}