setIntCache static method

dynamic setIntCache({
  1. required String name,
  2. int? value,
  3. int defaultValue = 0,
})

Implementation

static setIntCache({required String name, int? value, int defaultValue = 0}) {
  _prefs.setInt(name, value ?? defaultValue);
}