getClearBox static method
Implementation
static getClearBox(String name) async {
Box box = await getBox(name);
await box.clear().catchError((val) {
dev.log(val);
});
return box;
}
static getClearBox(String name) async {
Box box = await getBox(name);
await box.clear().catchError((val) {
dev.log(val);
});
return box;
}