connect method

Future<void> connect([
  1. CarPlatform platform = CarPlatform.carPlay
])

Connects a car of the given kind.

Implementation

Future<void> connect([CarPlatform platform = CarPlatform.carPlay]) async {
  _platform = platform;
  await _send(
      'connectionChanged', {'connected': true, 'platform': platform.name});
}