Success

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

Represents the success state of a resource.

Parameters

data

The data associated with the success state.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T?

The actual data.

Link copied to clipboard

A message associated with the resource, usually describing an error.