makeSureIsInitialize method

void makeSureIsInitialize()

For some cases, we want to make sure that LinkFive is initialized

This method is throwing an Error whenever the API is not initialized.

Implementation

void makeSureIsInitialize() {
  if (!isInitialized.isCompleted) {
    throw UnsupportedError(
        "Please Initialize LinkFive first with your API key.");
  }
}