fetchStream abstract method

Stream<String> fetchStream({
  1. int retries = 2,
  2. FutureOr<void> onError(
    1. CompletionException error,
    2. int retriesRemaning
    )?,
  3. void onJsonComplete(
    1. Map<String, dynamic> chunk
    )?,
})

Implementation

Stream<String> fetchStream({
  int retries = 2,
  FutureOr<void> Function(
    CompletionException error,
    int retriesRemaning,
  )? onError,
  void Function(Map<String, dynamic> chunk)? onJsonComplete,
});