instance property

TechproCarPlatform get instance

The platform in use. Defaults to MethodChannelTechproCar.

Call TechproCar.resetForTesting() after changing it.

Implementation

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

Implementation

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