reopen method
Reopens this storage if isClosed.
- If
clear
istrue
will alsoclear
the fields.
Implementation
bool reopen({bool clear = true}) {
if (!isClosed) return false;
if (clear) {
this.clear();
}
_closed = false;
return true;
}