flush method
Triggers immediate sending of pending events to LaunchDarkly.
Note that the future completes after the native SDK is requested to perform a flush, not when the said flush completes.
Implementation
Future<void> flush() async {
return _client.flush();
}