instance property

The default instance of BackgroundRefreshStatusPlatform to use.

Defaults to MethodChannelBackgroundRefreshStatus.

Implementation

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

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

Implementation

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