LabelSelector constructor

LabelSelector({
  1. Map<String, String>? matchLabels,
})

Implementation

factory LabelSelector({
  $core.Map<$core.String, $core.String>? matchLabels,
}) {
  final _result = create();
  if (matchLabels != null) {
    _result.matchLabels.addAll(matchLabels);
  }
  return _result;
}