disconnect method

Future<void> disconnect()

Disconnects the car. Like the real one, it keeps only the root.

Implementation

Future<void> disconnect() async {
  _platform = null;
  if (screens.length > 1) screens.removeRange(1, screens.length);
  alert = null;
  await _send('connectionChanged', {'connected': false});
}