flush method
Flushes all pending telemetry data.
Returns ResultDart with success or TelemetryException on error.
Implementation
@override
Future<ResultDart<void, TelemetryException>> flush() async {
await _repository.flush();
return const Success(unit);
}