MetaPatch constructor

MetaPatch({
  1. Map<String, String>? labels,
  2. Map<String, String>? annotations,
})

Implementation

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