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