checkApiReady method

  1. @protected
void checkApiReady()

Throws an Error if the API is not in a ready status.

Implementation

@protected
void checkApiReady() => checkState(
  _apiStatus == _ApiStatus.ready,
  message: () =>
      "JSON-SQLite API must be in `ready` state, got `${_apiStatus.name}`",
);