required bool Function()

in lib/http_retry.dart [88:101]


    required bool Function(BaseResponse) when,
    required bool Function(Object, StackTrace) whenError,
    required void Function(BaseRequest, BaseResponse?, int)? onRetry,
  }) : this(
          inner,
          retries: delays.length,
          delay: (retryCount) => delays[retryCount],
          when: when,
          whenError: whenError,
          onRetry: onRetry,
        );

  @override
  Future<StreamedResponse> send(BaseRequest request) async {