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