connectionClosed method
Platform notified framework of closed connection.
TextInputClient should cleanup its connection and finalize editing.
Implementation
@override
void connectionClosed() {
if (_hasInputConnection) {
_textInputConnection!.connectionClosedReceived();
_textInputConnection = null;
_lastKnownRemoteTextEditingValue = null;
}
}