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;
}