isValueNull method
Checks if the current value is null.
Returns a Future<bool> that completes with true if the value is null.
Implementation
Future<bool> isValueNull(SharedPreferencesAsync prefs) async {
return await getValue(prefs) == null;
}
Checks if the current value is null.
Returns a Future<bool> that completes with true if the value is null.
Future<bool> isValueNull(SharedPreferencesAsync prefs) async {
return await getValue(prefs) == null;
}