refactor: Remove unused `consumed` property
This commit is contained in:
parent
ba8048a3d6
commit
8c95472d42
|
@ -9,6 +9,5 @@ class Success<T> (override val data: T? = null) : Resource<T>(data)
|
||||||
class Error<T>(
|
class Error<T>(
|
||||||
override val data: T? = null,
|
override val data: T? = null,
|
||||||
val errorMessage: String? = null,
|
val errorMessage: String? = null,
|
||||||
var consumed: Boolean = false,
|
|
||||||
val cause: Throwable? = null,
|
val cause: Throwable? = null,
|
||||||
) : Resource<T>(data)
|
) : Resource<T>(data)
|
||||||
|
|
Loading…
Reference in New Issue