configure static method
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);
}