setDefaultValues method

  1. @override
CartModel setDefaultValues(
  1. CartModel t,
  2. StorageConditionsModel conditions
)
override

Implementation

@override
CartModel setDefaultValues(CartModel t, StorageConditionsModel conditions) {
  return t.copyWith(conditions: t.conditions ?? conditions);
}