reset static method

Future<void> reset()

Implementation

static Future<void> reset() async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  prefs.setInt(_nthRunKey, 0);
}