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