refactor: Remove unused `consumed` property

This commit is contained in:
Nik Clayton 2023-09-19 22:40:29 +02:00
parent ba8048a3d6
commit 8c95472d42
1 changed files with 1 additions and 2 deletions

View File

@ -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)