setMeasurement abstract method

void setMeasurement(
  1. String name,
  2. num value, {
  3. SentryMeasurementUnit? unit,
})

Set observed measurement for this span or transaction.

Implementation

void setMeasurement(
  String name,
  num value, {
  SentryMeasurementUnit? unit,
});