invoke

operator fun invoke(imageUuid: UUID, imgUri: Uri): Flow<Resource<Boolean>>

Invokes the use case to delete an image.

Return

A Flow emitting Resource states indicating the operation result.

Parameters

imageUuid

The UUID of the image to be deleted.

imgUri

The Uri of the image to be deleted from the device's media store.