get Int
Retrieves an Int value by key from the given scope.
Return
The stored value or defaultValue.
Parameters
scope
The storage scope name.
key
The key to look up.
default Value
The fallback value if the key is missing. Defaults to 0.
Retrieves an Int value by key from the given scope.
The stored value or defaultValue.
The storage scope name.
The key to look up.
The fallback value if the key is missing. Defaults to 0.