instance property

RekoSpeedTestPlatform get instance

The default instance of RekoSpeedTestPlatform to use.

Defaults to MethodChannelRekoSpeedTest.

Implementation

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

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

Implementation

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