instance property

Push get instance

The default instance of Push to use.

Defaults to Push implemented in push_platform_interface.

Implementation

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

Platform-specific plugins should override this with their own platform-specific class that extends VideoPlayerPlatform when they register themselves.

Implementation

static set instance(Push instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}