close method
Frees up any resources associated with this storage instance.
After calling this method, the storage instance must no longer be used.
Implementation
@override
@nonVirtual
void close() {
if (_closed) {
return;
}
_closed = true;
closeInternal();
// ignore: invalid_use_of_visible_for_testing_member
NativeStorage.instances.remove((namespace, scope));
}