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