attempt property

int get attempt

The number of times the request has been attempted.

Implementation

int get attempt => extra['attempt'] ?? 0;