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