try {
await Net.request().timeout(const Duration(seconds: 1));
} on TimeoutException catch (_) {
print('======== timeout');
} catch (_) {
print('======== error');
}
try {
await Net.request().timeout(const Duration(seconds: 1));
} on TimeoutException catch (_) {
print('======== timeout');
} catch (_) {
print('======== error');
}