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.
@override int get maxRetries => -1;