PM-14854: Keep NetworkResult to avoid obfuscation crash in release (#4289)

This commit is contained in:
David Perez 2024-11-12 09:38:49 -06:00 committed by GitHub
parent f33296b44f
commit 89c267aa5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,13 @@
package com.x8bit.bitwarden.data.platform.datasource.network.model
import androidx.annotation.Keep
/**
* A wrapper class for a network result for type [T]. If the network request is successful, the
* response will be a [Success] containing the data. If the network request is a failure, the
* response will be a [Failure] containing the [Throwable].
*/
@Keep
sealed class NetworkResult<out T> {
/**
* A successful network result with the relevant [T] data.