unlock method

void unlock(
  1. String award
)

Implementation

void unlock(String award) {
  if (isUnlocked(award)) {
    Debug().warn("Award $award is already unlocked, skipping");
    return;
  }
  if (isLocked(award)) {
    Debug().info("Unlocking Award $award");
    _currentModel.lockedAwards.remove(award);
  }
  Debug().info("Unlocking Award $award");
  _currentModel.unlockedAwards.add(award);
}