refactor: Remove unused `consumed` property
This commit is contained in:
parent
ba8048a3d6
commit
8c95472d42
|
@ -6,9 +6,8 @@ class Loading<T> (override val data: T? = null) : Resource<T>(data)
|
||||||
|
|
||||||
class Success<T> (override val data: T? = null) : Resource<T>(data)
|
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