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