wipeDatabase static method
Implementation
static Future<Map<String, Object?>> wipeDatabase(
final Client cloudApiClient, {
required final String projectId,
}) async {
try {
await cloudApiClient.database.wipeDatabase(cloudCapsuleId: projectId);
} on Exception catch (e, stackTrace) {
throw FailureException.nested(e, stackTrace, 'Failed to wipe database');
}
return {'projectId': projectId};
}