instance property

StepsCountPlatform get instance

The default instance of StepsCountPlatform to use.

Defaults to MethodChannelStepsCount.

Implementation

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

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

Implementation

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