TelemetrySender constructor
TelemetrySender({})
Implementation
factory TelemetrySender({
void Function(
_i2.String, [
_i2.dynamic,
])? sendEventData,
void Function(
_i7.Error, [
_i2.dynamic,
])? sendErrorData,
_i4.FutureOr<void> Function()? flush,
}) =>
TelemetrySender._(
sendEventData:
sendEventData == null ? null : _i5.allowInterop(sendEventData),
sendErrorData:
sendErrorData == null ? null : _i5.allowInterop(sendErrorData),
flush: flush == null
? null
: _i5.allowInterop(() => _i6.Promise.futureOr(() => flush())),
);