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