instance property

The default instance of VehicleinterfacePlatform to use.

Defaults to MethodChannelVehicleinterface.

Implementation

static VehicleinterfacePlatform get instance => _instance;
set instance (VehicleinterfacePlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends VehicleinterfacePlatform when they register themselves.

Implementation

static set instance(VehicleinterfacePlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}