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