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