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