closeConnection method
void
closeConnection()
A function that will disconnect all event listeners from Android Auto. The action will be irrevocable, and a new FlutterAndroidAuto controller must be created after this, otherwise Android Auto will be unusable.
! It is not recommended to use this function if you do not know what you are doing.
Implementation
void closeConnection() {
_eventBroadcast!.cancel();
}