Success

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

Represents a successful API operation.

Parameters

data

The successful result data.

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T?
Link copied to clipboard

Functions

Link copied to clipboard

Checks if the resource represents an error.

Link copied to clipboard

Checks if the resource represents a successful operation.