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