getChangedProduct method

bool getChangedProduct(
  1. Product product
)

Returns true if changes were made.

Implementation

bool getChangedProduct(Product product) {
  if (!_changed) {
    return false;
  }
  changeProduct(product);
  return true;
}