instance property

Cs50sdkupdatePlatform get instance

The default instance of Cs50sdkupdatePlatform to use.

Defaults to MethodChannelCs50sdkupdate.

Implementation

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

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

Implementation

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