unit property

  1. @TagNumber.new(3)
String get unit

The unit in which the metric value is reported. Follows the format described by https://ucum.org/ucum and https://units-of-measurement.org/

Implementation

@$pb.TagNumber(3)
$core.String get unit => $_getSZ(2);
  1. @TagNumber.new(3)
set unit (String value)

Implementation

@$pb.TagNumber(3)
set unit($core.String value) => $_setString(2, value);