close method
Releases the store. Later calls fail.
Implementation
@override
Future<void> close() async {
if (_closed) {
return;
}
_closed = true;
final Future<web.IDBDatabase>? database = _database;
_database = null;
if (database != null) {
try {
(await database).close();
} on FirebaseInstallationsException {
// The database never opened; nothing to close.
}
}
_channel?.close();
_channel = null;
await _changes.close();
}