toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (excludedInventorySizes != null)
'excludedInventorySizes':
excludedInventorySizes!.map((value) => value.toJson()).toList(),
if (targetedInventorySizes != null)
'targetedInventorySizes':
targetedInventorySizes!.map((value) => value.toJson()).toList(),
};