addClientReport method
void
addClientReport(
- ClientReport? clientReport
Add an envelope item containing client report data.
Implementation
void addClientReport(ClientReport? clientReport) {
if (clientReport != null) {
final envelopeItem = SentryEnvelopeItem.fromClientReport(clientReport);
items.add(envelopeItem);
}
}