getInt method

int getInt(
  1. String key
)

Implementation

int getInt(String key) => _prefs!.getInt(key) ?? 0;