timeout constant
Duration
const timeout
the most time to wait for the main isolate. After it, the count is made in this isolate, so a request never hangs (eg. during shutdown).
Implementation
static const Duration timeout = Duration(seconds: 5);