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