toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'matchExpressions': ?pulumi.Input.mapOptionalInputValue<List<LabelSelectorRequirementPatch>, List<Map<String, dynamic>>>(matchExpressions, (value) => pulumi.Input.encodeList<LabelSelectorRequirementPatch, Map<String, dynamic>>(value, (value) => value.toMap())),
'matchLabels': ?matchLabels,
};
}