getInt abstract method
Gets a 32-bit integer value. Returns defaultValue if the key is missing or the stored type is not int. @param key Lookup key. @param defaultValue Value to return when not found or type mismatch. @return Stored int32 or defaultValue.
Dart code snippet: @snippet storage_manager_example.dart dart_KeyValueStorage_getInt
Implementation
int getInt(String key, int defaultValue);