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