configure static method

void configure({
  1. required String apiKey,
})

Call the configure function before using the ToneDetector at the beginning of your app. Eg. in the main function.

Implementation

static void configure({required String apiKey}) {
  _config = ToneDetectorConfig(apiKey: apiKey);
}