saveInstallationTime static method

void saveInstallationTime()

Implementation

static void saveInstallationTime() async {
  if (getElapsedTimeInHours() != 0) {
    return;
  }
  final timestamp = DateTime.now().millisecondsSinceEpoch;
  Pref.set('installation_time', timestamp);
}