instance property

ElginSatPlatform get instance

The default instance of ElginSatPlatform to use.

Defaults to MethodChannelElginSat.

Implementation

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

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

Implementation

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