FetchModelResult

@NullMarked
interface FetchModelResult<T : Model?, M>(source)

Carries the result of a single model fetch operation.

Since

9.3.0

Parameters

<T>

The type of target from which the model was fetched.

<M>

The fetched model type.

Functions

Link copied to clipboard
Returns the failures that occurred during the fetch operation.
Link copied to clipboard
@Nullable
abstract fun getModel(): @Nullable M
Returns the fetched model.
Link copied to clipboard
@Nullable
abstract fun getTarget(): @Nullable T
Returns the target from which the model was fetched.