instance property

StepperUniNewPlatform get instance

The default instance of StepperUniNewPlatform to use.

Defaults to MethodChannelStepperUniNew.

Implementation

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

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

Implementation

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