isFavorite property

bool get isFavorite

Implementation

bool get isFavorite => parent.favoriteCueLists.contains(this);
set isFavorite (bool b)

Implementation

set isFavorite(bool b) {
  // don't update unless we need to
  if (isFavorite == b) return;
  parent.flagCueListAsFavorite(this, b);
  notify();
}