core.Map<core.String, core.dynamic> toJson() => { if (metadataLabelMatcher != null) 'metadataLabelMatcher': metadataLabelMatcher!, };