toJson method

Map<String, dynamic> toJson()

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(),
    };