toNativeObject method

dynamic toNativeObject()

Implementation

toNativeObject() {
  return {
    "placementId": placementId,
    "includedCategoryIds": categoryIds?.map((c) => c.id).toList(),
    "excludedCategoryIds": excludedCategoryIds?.map((c) => c.id).toList(),
  };
}