finalize method

Stream<List<int>> finalize()

Implementation

Stream<List<int>> finalize() {
  if (isFinalized) {
    throw StateError(
      'The MultipartFile has already been finalized. '
      'This typically means you are using '
      'the same MultipartFile in repeated requests.',
    );
  }
  _isFinalized = true;
  return _data.call();
}