AuthResponse<T>.success constructor
AuthResponse<T>.success (
- T? data
Creates a successful response.
The data parameter contains the successful response data.
Implementation
AuthResponse.success(this.data) : error = null;