AuthResponse<T>.success constructor

AuthResponse<T>.success(
  1. T? data
)

Creates a successful response.

The data parameter contains the successful response data.

Implementation

AuthResponse.success(this.data) : error = null;