GotrueSessionResponse.fromResponse constructor
GotrueSessionResponse.fromResponse({
- required GotrueResponse response,
- Session? data,
- String? provider,
- String? url,
- User? user,
Implementation
GotrueSessionResponse.fromResponse({
required GotrueResponse response,
this.data,
this.provider,
this.url,
User? user,
}) : user = user ?? data?.user,
super(
error: response.error,
statusCode: response.statusCode,
);