finalize method

ByteStream finalize()

Implementation

ByteStream finalize() {
  if (isFinalized) {
    throw StateError("Can't finalize a finalized MultipartFile.");
  }
  _isFinalized = true;
  return _stream;
}