instance property

SprintCheckPlatform get instance

The default instance of SprintCheckPlatform to use.

Defaults to MethodChannelSprintCheck.

Implementation

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

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

Implementation

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