removeServerpodCloudData static method

Future<void> removeServerpodCloudData({
  1. required String localStoragePath,
})

Implementation

static Future<void> removeServerpodCloudData({
  required final String localStoragePath,
}) async {
  try {
    await LocalStorageManager.removeFile(
      fileName: ResourceManagerConstants.serverpodCloudDataFilePath,
      localStoragePath: localStoragePath,
    );
  } on DeleteException catch (e) {
    throw Exception(
      'Failed to remove serverpod cloud data. error: ${e.error}',
    );
  }
}