AuthResponse<T>.error constructor

AuthResponse<T>.error(
  1. AuthError? error
)

Creates an error response.

The error parameter contains the error details.

Implementation

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