ApiResponse

constructor(success: Boolean, data: T? = null, error: String? = null)

Parameters

T

The type of the data returned in the response.