maxRetries property

int maxRetries

The maximum number of retries before giving up. Must be greater than 0, otherwise it will not retry. The total number of attempts is maxRetries + 1.

Implementation

int get maxRetries => 3;