RegistryItemBilling constructor

RegistryItemBilling({
  1. RegistryItemCostByResource? costPerMonth,
  2. RegistryItemCostByResource? costPerYear,
})

Implementation

factory RegistryItemBilling({
  RegistryItemCostByResource? costPerMonth,
  RegistryItemCostByResource? costPerYear,
}) {
  final $result = create();
  if (costPerMonth != null) {
    $result.costPerMonth = costPerMonth;
  }
  if (costPerYear != null) {
    $result.costPerYear = costPerYear;
  }
  return $result;
}