flush method
Forces the client to upload all queued events and impressions.
Use only if there's a need to do this on demand. Otherwise, the SDK performs this automatically.
Implementation
@override
Future<void> flush() async {
return _platform.flush(
matchingKey: _matchingKey, bucketingKey: _bucketingKey);
}