complete method

  1. @override
void complete(
  1. Null value
)
override

value will be ignored. The stream will emit the accumulated chunks instead.

Implementation

@override

/// [value] will be ignored. The stream will emit the accumulated chunks instead.
void complete(Null value) {
  if (!_isClosed) {
    completer.complete(value);
    streamController.close();
    onClose();
  }
}