You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi it will be better to provide an option for request to set timeout for waiting requests (i'm not talking about connection timeout). Manually, i can do that, but when I'm running Build Runner, I need to make this "modification" again.
for example, my user_network_service.chopper.dart
@override
Future<Response<UserModel>> profile() {
final Uri $url = Uri.parse('/user/profile');
final Request $request = Request(
'GET',
$url,
client.baseUrl,
);
return client
.send<UserModel, UserModel>($request)
.timeout(Duration(seconds: 5));
}
The text was updated successfully, but these errors were encountered:
Hi it will be better to provide an option for request to set timeout for waiting requests (i'm not talking about connection timeout). Manually, i can do that, but when I'm running Build Runner, I need to make this "modification" again.
for example, my
user_network_service.chopper.dart
The text was updated successfully, but these errors were encountered: