finishSending method

void finishSending(
  1. int offset
)

Implementation

void finishSending(int offset) {
  _requireState<_ZSendingContentState>();
  _enqueue(ZModemDataPacket.fileData(Uint8List(0), eof: true));
  _enqueue(ZModemHeader.eof(offset));
  _state = _ZRqinitState(this);
}