Success

class Success<T>(data: T) : Resource<T>

Represents the success state of a resource.

Parameters

T

The type of data loaded successfully.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T?

The data associated with the resource, if available.

Link copied to clipboard

A descriptive message associated with the resource, usually for error states.