clearStash method
Implementation
Future<bool> clearStash() async {
bool ok = true;
if (_stash == null) return ok;
try {
// clear rthe stash map
_stash!.map.clear();
// save to the hive
await _stash!.upsert();
} catch (e) {
// stash failure always returns true
ok = true;
}
return ok;
}