connectionClosedReceived method Null safety
Platform sent a notification informing the connection is closed.
TextInputConnection should clean current client connection.
Implementation
void connectionClosedReceived() {
TextInput._instance._currentConnection = null;
assert(!attached);
}