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