resetDatabaseWithCompletionHandler method

void resetDatabaseWithCompletionHandler(
  1. ObjCBlock<Void Function(NSError?)> completion
)

Deletes the existing database, which includes both the ambient cache and offline packs, then reinitializes it.

You typically do not need to call this method.

@param completion The completion handler to call once the pack has database has been reset. This handler is executed asynchronously on the main queue.

Implementation

void resetDatabaseWithCompletionHandler(objc.ObjCBlock<ffi.Void Function(objc.NSError?)> completion) {
_objc_msgSend_f167m6(this.ref.pointer, _sel_resetDatabaseWithCompletionHandler_, completion.ref.pointer);

}