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