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