initialize static method

void initialize({
  1. required SendinblueConfiguration configuration,
})

Initialize the Sendinblue package

apiKey is the API key of your Sendinblue account Note that this method should be called before using any other method of this package.

Implementation

static void initialize({
  required SendinblueConfiguration configuration,
}) {
  _instance = Sendinblue._(
    configuration,
    SendinblueRepository(
      sendingBlueProvider: SendinblueApiProvider(apiKey: configuration.apiKey),
    ),
  );
}