Success

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

Class representing a successful resource.

Parameters

T

The type of the data.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T?

The data of the resource. It can be null.

Link copied to clipboard

The message of the resource. It can be null.