remove static method

Future<bool> remove(
  1. String uri
)

Removes an existing store.

Throws an AskarStoreException if removing the store fails.

Implementation

static Future<bool> remove(String uri) async {
  try {
    final result = await askarStoreRemove(uri);
    result.throwOnError();
    return result.value;
  } catch (e) {
    throw AskarStoreException('Failed to remove store: $e');
  }
}