SharedPrefsQueue constructor
- SharedPreferencesAsync? prefs,
Creates a SharedPrefsQueue.
An optional prefs override is accepted for testing.
Implementation
SharedPrefsQueue({SharedPreferencesAsync? prefs})
: _prefs = prefs ?? SharedPreferencesAsync();