mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 11:09:28 +00:00
feat: add deeplinking support for oauth login
This commit is contained in:
parent
38bad9671d
commit
61aeaf429f
23 changed files with 1310 additions and 343 deletions
|
|
@ -3,17 +3,17 @@ import 'package:logging/logging.dart';
|
|||
|
||||
final _logger = Logger('ErrorResponse');
|
||||
|
||||
class ErrorResponse {
|
||||
class ErrorResponseHandler {
|
||||
String? name;
|
||||
http.Response _response;
|
||||
|
||||
ErrorResponse({
|
||||
ErrorResponseHandler({
|
||||
this.name,
|
||||
http.Response? response,
|
||||
}) : _response = response ?? http.Response('', 418);
|
||||
|
||||
void storeError(http.Response response, [Object? error]) {
|
||||
_logger.warning('for $name got response: $response');
|
||||
_logger.fine('for $name got response: $response');
|
||||
_response = response;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue