unit property

String? unit
getter/setter pair

The unit of measurement (e.g., 'millisecond', 'byte').

See SentryMetricUnit for predefined unit constants.

Implementation

String? unit;