instance property

Replicate get instance

Implementation

static Replicate get instance {
  if (_internalApiKey == null) {
    throw MissingApiKeyException("""
    You must set the api key before accessing the instance of this class.
    Example:
    Replicate.apiKey = "Your API Key";
    """);
  }
  return _instance;
}