ageInSeconds property

int get ageInSeconds

Gets the age of the session in seconds

Implementation

int get ageInSeconds {
  return DateTime.now().difference(creationTime).inSeconds;
}