We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version: 0.3.2-null-safety
In CacheProvider, all setX methods have an optional parameter for defaultValue.
CacheProvider
setX
defaultValue
Future<void> setInt(String key, int? value, {int? defaultValue}); Future<void> setString(String key, String? value, {String? defaultValue}); Future<void> setDouble(String key, double? value, {double? defaultValue}); Future<void> setBool(String key, bool? value, {bool? defaultValue});
Is this intentional, instead of placing them on getX? If so, what's the intended purpose? I don't see it being used in the provided example.
getX
Thank you !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
version: 0.3.2-null-safety
In
CacheProvider
, allsetX
methods have an optional parameter fordefaultValue
.Is this intentional, instead of placing them on
getX
? If so, what's the intended purpose? I don't see it being used in the provided example.Thank you !
The text was updated successfully, but these errors were encountered: