updateLastClickedTime method

Future<int> updateLastClickedTime()

Implementation

Future<int> updateLastClickedTime() async {
  final time = DateTime.now().millisecondsSinceEpoch;
  _adLastClickedTime = time;
  final prefs = await SharedPreferences.getInstance();
  await prefs.setInt(lastClickedPrefsKey, time);
  return time;
}