LabelDescriptor constructor

LabelDescriptor({
  1. String? key,
  2. LabelDescriptor_ValueType? valueType,
  3. String? description,
})

Implementation

factory LabelDescriptor({
  $core.String? key,
  LabelDescriptor_ValueType? valueType,
  $core.String? description,
}) {
  final $result = create();
  if (key != null) {
    $result.key = key;
  }
  if (valueType != null) {
    $result.valueType = valueType;
  }
  if (description != null) {
    $result.description = description;
  }
  return $result;
}