maxRetries property

  1. @override
int maxRetries
override

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

@override
int get maxRetries => -1;