GotrueSessionResponse constructor

GotrueSessionResponse({
  1. Session? data,
  2. String? provider,
  3. String? url,
  4. User? user,
  5. GotrueError? error,
  6. int? statusCode,
})

Implementation

GotrueSessionResponse({
  this.data,
  this.provider,
  this.url,
  User? user,
  GotrueError? error,
  int? statusCode,
})  : user = user ?? data?.user,
      super(
        error: error,
        statusCode: statusCode,
      );