LogDescriptor constructor
LogDescriptor({
- String? name,
- Iterable<
LabelDescriptor> ? labels, - String? description,
- String? displayName,
Implementation
factory LogDescriptor({
$core.String? name,
$core.Iterable<$2.LabelDescriptor>? labels,
$core.String? description,
$core.String? displayName,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (labels != null) {
_result.labels.addAll(labels);
}
if (description != null) {
_result.description = description;
}
if (displayName != null) {
_result.displayName = displayName;
}
return _result;
}