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