detachInput method

void detachInput()

Implementation

void detachInput() {
  structuralChangeTimer?.cancel();
  structuralChangeTimer = null;
  structuralChangeInProgress = false;
  resetComposition();
  lastSyncedFragmentId = '';
  lastSyncedText = '';
  prevSelectionKey = '';
  justCommittedComposition = false;
  lastCommittedText = '';
}