setBrand method

void setBrand(
  1. DsBrand brand
)

Updates the DsBrand and persists the choice.

Implementation

void setBrand(DsBrand brand) {
  if (_brand == brand) return;
  _brand = brand;
  notifyListeners();
  _persist();
}