snapshotOf method

CooldownSnapshot snapshotOf(
  1. String key
)

Implementation

CooldownSnapshot snapshotOf(String key) => CooldownSnapshot(
  key: key,
  status: statusOf(key),
  remaining: remainingOf(key),
);