recordUsage method

void recordUsage()

Increments the usage count and updates timestamp.

Implementation

void recordUsage() {
  count++;
  timestamp = DateTime.now();
}