timeSpentInSeconds property

int get timeSpentInSeconds

Implementation

int get timeSpentInSeconds {
  if (captchaOpenedAt == null) return 0;

  return DateTime.now().difference(captchaOpenedAt!).inSeconds;
}